Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
| Context not available. | |||||
| elseif(WITH_PYTHON_INSTALL_REQUESTS) | elseif(WITH_PYTHON_INSTALL_REQUESTS) | ||||
| find_python_package(requests) | find_python_package(requests) | ||||
| endif() | endif() | ||||
| # List with directories that will be excluded in the install of creator | |||||
| set_property(GLOBAL PROPERTY PYTHON_MODULE_EXCLUDE ".git|.gitignore|.arcconfig|__pycache__|CMakeLists.txt") | |||||
campbellbarton: There is no need to cache this, it can be a global property, see: `DELAYED_INSTALL_FILES` | |||||
| # do not install freestyle dir if disabled | |||||
| if(NOT WITH_FREESTYLE) | |||||
| set_property(GLOBAL APPEND_STRING PROPERTY PYTHON_MODULE_EXCLUDE "|freestyle/*") | |||||
| endif() | |||||
| if(EXISTS ${CMAKE_SOURCE_DIR}/release/scripts/addons_contrib/CMakeLists.txt) # TEMPORARILY NECESSARY | |||||
| # exclude addons_contrib if release | |||||
| if("${BLENDER_VERSION_CYCLE}" STREQUAL "release" OR | |||||
| "${BLENDER_VERSION_CYCLE}" STREQUAL "rc") | |||||
| set_property(GLOBAL APPEND_STRING PROPERTY PYTHON_MODULE_EXCLUDE "|addons_contrib/*") | |||||
campbellbartonUnsubmitted Done Inline Actionspicky, should be "|/addons_contrib/*" campbellbarton: picky, should be `"|/addons_contrib/*"` | |||||
| else() | |||||
| add_subdirectory(release/scripts/addons_contrib) | |||||
| endif() | |||||
| endif() | |||||
| if(EXISTS ${CMAKE_SOURCE_DIR}/release/scripts/addons/CMakeLists.txt) # TEMPORARILY NECESSARY | |||||
| add_subdirectory(release/scripts/addons) | |||||
| endif() | |||||
| endif() | endif() | ||||
| if(WITH_CXX11) | if(WITH_CXX11) | ||||
| Context not available. | |||||
There is no need to cache this, it can be a global property, see: DELAYED_INSTALL_FILES