mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-01 06:30:52 +02:00
Added options.cmake, with CMAKE_EXPORT_COMPILE_COMMANDS ON
This commit solves #170 It adds one options.cmake file to allow for flags configuration. The only flag added so far is CMAKE_EXPORT_COMPILE_COMMANDS To test: cmake -S all -B build/ find . -name compile_commands.json --> ./build/compile_commands.json
This commit is contained in:
parent
12cf5de1a8
commit
785ba14814
2 changed files with 2 additions and 0 deletions
1
cmake/options.cmake
Normal file
1
cmake/options.cmake
Normal file
|
@ -0,0 +1 @@
|
|||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
Loading…
Add table
Add a link
Reference in a new issue