[cmake] add common options to subprojects
This commit is contained in:
parent
8fc7062605
commit
76d23885d4
@ -38,7 +38,9 @@ if (NOT FREERDP_UNIFIED_BUILD)
|
||||
endif()
|
||||
|
||||
|
||||
set(CMAKE_COLOR_MAKEFILE ON)
|
||||
option(CMAKE_COLOR_MAKEFILE "colorful CMake makefile" ON)
|
||||
option(CMAKE_VERBOSE_MAKEFILE "verbose CMake makefile" ON)
|
||||
option(CMAKE_POSITION_INDEPENDENT_CODE "build with position independent code (-fPIC or -fPIE)" ON)
|
||||
|
||||
set(WINPR_VERSION_MAJOR 3)
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
|
||||
|
@ -37,7 +37,9 @@ if (NOT FREERDP_UNIFIED_BUILD)
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
||||
|
||||
set(CMAKE_COLOR_MAKEFILE ON)
|
||||
option(CMAKE_COLOR_MAKEFILE "colorful CMake makefile" ON)
|
||||
option(CMAKE_VERBOSE_MAKEFILE "verbose CMake makefile" ON)
|
||||
option(CMAKE_POSITION_INDEPENDENT_CODE "build with position independent code (-fPIC or -fPIE)" ON)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
|
||||
option(EXPORT_ALL_SYMBOLS "Export all symbols form library" OFF)
|
||||
|
@ -29,8 +29,9 @@ if (NOT FREERDP_UNIFIED_BUILD)
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||
endif()
|
||||
|
||||
|
||||
set(CMAKE_COLOR_MAKEFILE ON)
|
||||
option(CMAKE_COLOR_MAKEFILE "colorful CMake makefile" ON)
|
||||
option(CMAKE_VERBOSE_MAKEFILE "verbose CMake makefile" ON)
|
||||
option(CMAKE_POSITION_INDEPENDENT_CODE "build with position independent code (-fPIC or -fPIE)" ON)
|
||||
option(WITH_LIBRARY_VERSIONING "Use library version triplet" ON)
|
||||
|
||||
# Default to build shared libs
|
||||
|
Loading…
x
Reference in New Issue
Block a user