Changeset 11693 for code/trunk/cmake
- Timestamp:
- Jan 3, 2018, 2:31:43 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/tools/TargetUtilities.cmake
r11692 r11693 476 476 IF(CMAKE_CONFIGURATION_TYPES) 477 477 FOREACH(_config ${CMAKE_CONFIGURATION_TYPES}) 478 SET(_helper_filename ${_output_dir}/${_config}/${_target_name}${_extension}) 478 SET(_helper_directory ${_output_dir}/${_config}) 479 FILE(MAKE_DIRECTORY ${_helper_directory}) 480 SET(_helper_filename ${_helper_directory}/${_target_name}${_extension}) 479 481 480 482 FILE(GENERATE OUTPUT ${_helper_filename} CONTENT $<TARGET_FILE_NAME:${_target_name}>) … … 487 489 ENDFOREACH() 488 490 ELSE() 489 SET(_helper_filename ${_output_dir}/${_target_name}${_extension}) 491 SET(_helper_directory ${_output_dir}) 492 FILE(MAKE_DIRECTORY ${_helper_directory}) 493 SET(_helper_filename ${_helper_directory}/${_target_name}${_extension}) 490 494 491 495 FILE(GENERATE OUTPUT ${_helper_filename} CONTENT $<TARGET_FILE_NAME:${_target_name}>)
Note: See TracChangeset
for help on using the changeset viewer.