Changeset View
Changeset View
Standalone View
Standalone View
source/creator/CMakeLists.txt
| Show First 20 Lines • Show All 417 Lines • ▼ Show 20 Lines | |||||
| # color management | # color management | ||||
| if(WITH_OPENCOLORIO) | if(WITH_OPENCOLORIO) | ||||
| install( | install( | ||||
| DIRECTORY ${CMAKE_SOURCE_DIR}/release/datafiles/colormanagement | DIRECTORY ${CMAKE_SOURCE_DIR}/release/datafiles/colormanagement | ||||
| DESTINATION ${TARGETDIR_VER}/datafiles | DESTINATION ${TARGETDIR_VER}/datafiles | ||||
| ) | ) | ||||
| endif() | endif() | ||||
| # Add default workspaces.blend to build (under [version]/datafiles | |||||
| install( | |||||
| FILES ${CMAKE_SOURCE_DIR}/release/datafiles/workspaces.blend | |||||
| DESTINATION ${TARGETDIR_VER}/datafiles | |||||
| ) | |||||
| # helpful tip when using make | # helpful tip when using make | ||||
| if("${CMAKE_GENERATOR}" MATCHES ".*Makefiles.*") | if("${CMAKE_GENERATOR}" MATCHES ".*Makefiles.*") | ||||
| # message after building. | # message after building. | ||||
| add_custom_command( | add_custom_command( | ||||
| TARGET blender POST_BUILD MAIN_DEPENDENCY blender | TARGET blender POST_BUILD MAIN_DEPENDENCY blender | ||||
| COMMAND ${CMAKE_COMMAND} -E | COMMAND ${CMAKE_COMMAND} -E | ||||
| echo 'now run: \"make install\" to copy runtime files and scripts to ${TARGETDIR_VER}' | echo 'now run: \"make install\" to copy runtime files and scripts to ${TARGETDIR_VER}' | ||||
| ) | ) | ||||
| ▲ Show 20 Lines • Show All 787 Lines • Show Last 20 Lines | |||||