Skip to content

Commit

Permalink
give up using toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
wusatosi committed Nov 15, 2024
1 parent f4932e9 commit b000f40
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 51 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
args: ""
- description: "TSan"
config: "Debug"
args: "-DCMAKE_TOOLCHAIN_FILE=cmake/toolchain.cmake -DBEMAN_BUILDSYS_SANITIZER=TSan"
args: "-DBEMAN_BUILDSYS_SANITIZER=TSan"
- description: "ASan"
config: "Debug"
args: "-DCMAKE_TOOLCHAIN_FILE=cmake/toolchain.cmake -DBEMAN_BUILDSYS_SANITIZER=ASan"
args: "-DBEMAN_BUILDSYS_SANITIZER=ASan"
include:
- platform: ubuntu-latest
compiler:
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ option(
${PROJECT_IS_TOP_LEVEL}
)

if(DEFINED BEMAN_BUILDSYS_SANITIZER)
include(cmake/apply_santizers.cmake)
endif()

include(CTest)
include(FetchContent)
include(GNUInstallDirs)
Expand Down
2 changes: 0 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "cmake/toolchain.cmake",
"BEMAN_BUILDSYS_SANITIZER": "ASan"
}
},
Expand All @@ -24,7 +23,6 @@
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_TOOLCHAIN_FILE": "cmake/toolchain.cmake",
"BEMAN_BUILDSYS_SANITIZER": "OFF"
}
},
Expand Down
47 changes: 0 additions & 47 deletions cmake/toolchain.cmake

This file was deleted.

0 comments on commit b000f40

Please sign in to comment.