mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 09:18:54 -05:00
CMake: Produce compile commands on supported generators
This commit is contained in:
parent
786640ee1f
commit
35a01df5d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user