1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 13:41:13 +02:00

Build and test shared libs

This commit is contained in:
Claus Klein 2023-07-31 08:03:23 +02:00
parent 0bb3325679
commit 686c773bb2
2 changed files with 4 additions and 3 deletions

View file

@ -21,10 +21,10 @@
"CMAKE_CXX_STANDARD": "20",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_DEBUG_POSTFIX": "D",
"BUILD_SHARED_LIBS": "NO"
"BUILD_SHARED_LIBS": "YES"
},
"environment": {
"CPM_USE_LOCAL_PACKAGES": "YES",
"CPM_USE_LOCAL_PACKAGES": "NO",
"PATH": "$env{HOME}/.local/bin${pathListSep}$penv{PATH}"
},
"warnings": {

View file

@ -27,7 +27,8 @@
},
"environment": {
"CPM_USE_LOCAL_PACKAGES": "YES",
"PATH": "$env{HOME}/.local/bin${pathListSep}$penv{PATH}"
"PATH": "$env{HOME}/.local/bin${pathListSep}$penv{PATH}",
"LD_LIBRARY_PATH": "${sourceParentDir}/stagedir/lib${pathListSep}penv{LD_LIBRARY_PATH}"
}
},
{