You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
520 B
19 lines
520 B
add_executable(app MACOSX_BUNDLE main.m)
|
|
|
|
set(EMBED_RESOURCES_FOLDER ${CMAKE_BINARY_DIR}/runtime/shaders)
|
|
|
|
# ensure embed resources folder exists
|
|
if (NOT (IS_DIRECTORY ${EMBED_RESOURCES_FOLDER}))
|
|
file(MAKE_DIRECTORY ${EMBED_RESOURCES_FOLDER})
|
|
endif()
|
|
|
|
set_target_properties(app PROPERTIES
|
|
XCODE_EMBED_RESOURCES ${EMBED_RESOURCES_FOLDER}
|
|
)
|
|
|
|
set_target_properties(app PROPERTIES
|
|
XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED "NO"
|
|
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY ""
|
|
MACOSX_BUNDLE_GUI_IDENTIFIER "com.example.app"
|
|
)
|