mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
- Upgrade to gitup workflow action v3 - Prepare use of git-flow - Use CMake v3.21 variable PROJECT_IS_TOP_LEVEL - Use CMAKE_DEBUG_POSTFIX to prevent name clashes - Add more config files
14 lines
471 B
Bash
14 lines
471 B
Bash
# Define environment in this dir only with direnv.
|
|
# On first usage enter: direnv allow
|
|
# man direnv for more infos
|
|
#
|
|
# see too https://cmake.org/cmake/help/latest/manual/cmake-env-variables.7.html
|
|
export CMAKE_PREFIX_PATH=${PWD}/stagedir
|
|
export CMAKE_EXPORT_COMPILE_COMMANDS=YES
|
|
export CTEST_OUTPUT_ON_FAILURE=YES
|
|
|
|
export CPM_USE_LOCAL_PACKAGES=YES
|
|
export CPM_SOURCE_CACHE=${PWD}/.cache/CPM
|
|
|
|
export LD_LIBRARY_PATH=${CMAKE_PREFIX_PATH}/lib
|
|
export BUILD_DIR=${PWD}/build
|