CMake: Produce compile commands on supported generators

pull/690/head
Kacper Michajłow 2020-11-07 05:31:46 +01:00
rodzic 786640ee1f
commit 35a01df5d1
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -11,6 +11,8 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# configure version
set(sdrangel_VERSION_MAJOR "4")
set(sdrangel_VERSION_MINOR "21")
@ -207,7 +209,7 @@ elseif (WIN32)
# compile with full multicore
if(MSVC)
add_compile_definitions(/MP)
add_compile_options(/MP)
endif()
# in alternative we can use ExternalProject