mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-03 07:30:53 +02:00
- Add CMake Workflow Presets
- 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
This commit is contained in:
parent
fcbedfe9d8
commit
d81a42450c
22 changed files with 540 additions and 31 deletions
14
.envrc
Normal file
14
.envrc
Normal file
|
@ -0,0 +1,14 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue