Skip to content

Instantly share code, notes, and snippets.

View cubicvoid's full-sized avatar

era cubicvoid

View GitHub Profile
@cubicvoid
cubicvoid / xib_helpers.cmake
Created November 21, 2023 15:03
Handle Interface Builder xib -> nib conversion in CMake
# xib_helpers.cmake by cubicvoid
#
# Include this helper at the beginning of your project to
# simplify handling of Apple .xib files.
# Call add_xib([filename]) from anywhere in the project (including
# nested directories), then call finalize_xibs and apply the results
# to your target:
# add_xib(MyCustomView.xib)
# ...
# finalize_xibs(XIBS)