Skip to content

Commit 05c9782

Browse files
106
1 parent 5318202 commit 05c9782

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cmake/macos/helpers.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,17 @@ function(set_target_properties_obs target)
8686
endif()
8787

8888
get_property(obs_executables GLOBAL PROPERTY _OBS_EXECUTABLES)
89+
90+
message(STATUS "Add dependencies (${target}) (${obs_executables})")
8991
add_dependencies(${target} ${obs_executables})
92+
9093
foreach(executable IN LISTS obs_executables)
94+
message(STATUS "Set target xcode properties (${executable}) ($(LOCAL_APPS_DIR)/$<TARGET_BUNDLE_DIR_NAME:${target}>/Contents/MacOS)")
9195
set_target_xcode_properties(${executable} PROPERTIES INSTALL_PATH
9296
"$(LOCAL_APPS_DIR)/$<TARGET_BUNDLE_DIR_NAME:${target}>/Contents/MacOS"
9397
)
9498

99+
message(STATUS "Add custom command (${target}) (${CMAKE_COMMAND}" -E copy_if_different "$<TARGET_FILE:${executable}>) ($<TARGET_BUNDLE_CONTENT_DIR:${target}>/MacOS/)")
95100
add_custom_command(
96101
TARGET ${target}
97102
POST_BUILD

0 commit comments

Comments
 (0)