Skip to content

Commit 8f375b3

Browse files
123
1 parent 5149d22 commit 8f375b3

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

cmake/windows/helpers.cmake

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function(set_target_properties_obs target)
1111
set(multiValueArgs PROPERTIES)
1212
cmake_parse_arguments(PARSE_ARGV 0 _STPO "${options}" "${oneValueArgs}" "${multiValueArgs}")
1313

14-
message(DEBUG "Setting additional properties for target ${target}...")
14+
message(STATUS "Setting additional properties for target ${target}...")
1515

1616
while(_STPO_PROPERTIES)
1717
list(POP_FRONT _STPO_PROPERTIES key value)
@@ -20,6 +20,8 @@ function(set_target_properties_obs target)
2020

2121
get_target_property(target_type ${target} TYPE)
2222

23+
message(STATUS "Windows target_type: ${target_type}")
24+
2325
if(target_type STREQUAL EXECUTABLE)
2426
if(target STREQUAL obs-browser-helper)
2527
set(OBS_EXECUTABLE_DESTINATION "${OBS_PLUGIN_DESTINATION}")
@@ -107,7 +109,7 @@ function(set_target_properties_obs target)
107109
COMPONENT Runtime
108110
)
109111
elseif(${target} STREQUAL obs-browser)
110-
message(DEBUG "Add Chromium Embedded Framework to project for obs-browser plugin...")
112+
message(STATUS "Add Chromium Embedded Framework to project for obs-browser plugin...")
111113
if(TARGET CEF::Library)
112114
get_target_property(imported_location CEF::Library IMPORTED_LOCATION_RELEASE)
113115

@@ -300,7 +302,7 @@ endfunction()
300302

301303
# Helper function to add resources into bundle
302304
function(target_install_resources target)
303-
message(DEBUG "Installing resources for target ${target}...")
305+
message(STATUS "Installing resources for target ${target}...")
304306
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/data")
305307
file(GLOB_RECURSE data_files "${CMAKE_CURRENT_SOURCE_DIR}/data/*")
306308
foreach(data_file IN LISTS data_files)
@@ -358,7 +360,7 @@ function(target_add_resource target resource)
358360
set(target_destination "${OBS_DATA_DESTINATION}/${target}")
359361
endif()
360362

361-
message(DEBUG "Add resource '${resource}' to target ${target} at destination '${target_destination}'...")
363+
message(STATUS "Add resource '${resource}' to target ${target} at destination '${target_destination}'...")
362364

363365
install(FILES "${resource}" DESTINATION "${target_destination}" COMPONENT Runtime)
364366

@@ -377,7 +379,7 @@ endfunction()
377379

378380
# _bundle_dependencies: Resolve third party dependencies and add them to Windows binary directory
379381
function(_bundle_dependencies target)
380-
message(DEBUG "Discover dependencies of target ${target}...")
382+
message(STATUS "Discover dependencies of target ${target}...")
381383
set(found_dependencies)
382384
find_dependencies(TARGET ${target} FOUND_VAR found_dependencies)
383385

0 commit comments

Comments
 (0)