build: Fixed compile_commands.json not exportet
This commit is contained in:
+3
-1
@@ -13,7 +13,6 @@ include(cmake/licenses.cmake)
|
||||
|
||||
# set Standerd build type to Release
|
||||
set(CMAKE_BUILD_TYPE_INIT "Release")
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# Variables --------------------------------------------------------------------
|
||||
|
||||
@@ -44,6 +43,7 @@ if (UNIX)
|
||||
endif ()
|
||||
|
||||
# Project ----------------------------------------------------------------------
|
||||
|
||||
project(${PROJECT_NAME})
|
||||
|
||||
#RPATH
|
||||
@@ -55,6 +55,8 @@ if(UNIX AND NOT APPLE)
|
||||
include(cmake/external.cmake)
|
||||
endif()
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# Clang ------------------------------------------------------------------------
|
||||
|
||||
if (UNIX AND APPLE)
|
||||
|
||||
Reference in New Issue
Block a user