mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
Build and test shared libs
This commit is contained in:
parent
0bb3325679
commit
686c773bb2
2 changed files with 4 additions and 3 deletions
|
@ -21,10 +21,10 @@
|
||||||
"CMAKE_CXX_STANDARD": "20",
|
"CMAKE_CXX_STANDARD": "20",
|
||||||
"CMAKE_BUILD_TYPE": "Release",
|
"CMAKE_BUILD_TYPE": "Release",
|
||||||
"CMAKE_DEBUG_POSTFIX": "D",
|
"CMAKE_DEBUG_POSTFIX": "D",
|
||||||
"BUILD_SHARED_LIBS": "NO"
|
"BUILD_SHARED_LIBS": "YES"
|
||||||
},
|
},
|
||||||
"environment": {
|
"environment": {
|
||||||
"CPM_USE_LOCAL_PACKAGES": "YES",
|
"CPM_USE_LOCAL_PACKAGES": "NO",
|
||||||
"PATH": "$env{HOME}/.local/bin${pathListSep}$penv{PATH}"
|
"PATH": "$env{HOME}/.local/bin${pathListSep}$penv{PATH}"
|
||||||
},
|
},
|
||||||
"warnings": {
|
"warnings": {
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
},
|
},
|
||||||
"environment": {
|
"environment": {
|
||||||
"CPM_USE_LOCAL_PACKAGES": "YES",
|
"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}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue