Skip to content

Commit

Permalink
CMake: Add preset file
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Oct 26, 2024
1 parent 725f85b commit ee7d4a9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": 2,
"configurePresets": [
{
"name": "linux-debug",
"binaryDir": "${sourceDir}/build",
"generator": "Unix Makefiles",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_C_FLAGS": "-Wall -Wextra -Wpedantic -Wshadow",
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Wpedantic -Wshadow -D_GLIBCXX_ASSERTIONS -fno-inline",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install",
"SWIG_COMPILE_FLAGS": "-O1 -Wno-unused-parameter -Wno-shadow"
}
}
]
}

0 comments on commit ee7d4a9

Please sign in to comment.