mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-10-08 00:00:42 -04:00
CMake: Produce compile commands on supported generators
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user