mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-26 13:16:18 +03:00
Merge pull request #373 from shymega/feature/compile_commands_cmake
Feature: CMake now generates compile_commands.json
This commit is contained in:
commit
0ddd38ece1
@ -21,6 +21,7 @@ project (barrier C CXX)
|
|||||||
option (BARRIER_BUILD_GUI "Build the GUI" ON)
|
option (BARRIER_BUILD_GUI "Build the GUI" ON)
|
||||||
option (BARRIER_BUILD_INSTALLER "Build the installer" ON)
|
option (BARRIER_BUILD_INSTALLER "Build the installer" ON)
|
||||||
|
|
||||||
|
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
set (CMAKE_CXX_STANDARD 14)
|
set (CMAKE_CXX_STANDARD 14)
|
||||||
set (CMAKE_CXX_EXTENSIONS OFF)
|
set (CMAKE_CXX_EXTENSIONS OFF)
|
||||||
set (CMAKE_CXX_STANDARD_REQUIRED ON)
|
set (CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
Loading…
Reference in New Issue
Block a user