|
|
|
@ -17,10 +17,10 @@ set( VERSION R14.0.4 )
|
|
|
|
|
|
|
|
|
|
#### include essential cmake modules
|
|
|
|
|
|
|
|
|
|
include( FindPkgConfig )
|
|
|
|
|
include( CheckIncludeFile )
|
|
|
|
|
include( CheckLibraryExists )
|
|
|
|
|
include( CheckCSourceCompiles )
|
|
|
|
|
include( FindPkgConfig )
|
|
|
|
|
include( CheckIncludeFile )
|
|
|
|
|
include( CheckLibraryExists )
|
|
|
|
|
include( CheckCSourceCompiles )
|
|
|
|
|
include( CheckCXXSourceCompiles )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -43,7 +43,7 @@ tde_setup_paths( )
|
|
|
|
|
|
|
|
|
|
##### user requested modules #####
|
|
|
|
|
|
|
|
|
|
option( BUILD_ALL "Build all" OFF )
|
|
|
|
|
option( BUILD_ALL "Build all" OFF )
|
|
|
|
|
option( BUILD_DOC "Build doc" ${BUILD_ALL} )
|
|
|
|
|
option( BUILD_KCRON "Build kcron" ${BUILD_ALL} )
|
|
|
|
|
option( BUILD_KDAT "Build kdat" ${BUILD_ALL} )
|
|
|
|
@ -63,9 +63,7 @@ include( ConfigureChecks.cmake )
|
|
|
|
|
|
|
|
|
|
###### global compiler settings
|
|
|
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
)
|
|
|
|
|
add_definitions( -DHAVE_CONFIG_H )
|
|
|
|
|
|
|
|
|
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
|
|
|
|
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
|
|
|
|
@ -75,7 +73,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
|
|
|
|
|
##### @TDE_MODULE_NAME@ directories
|
|
|
|
|
|
|
|
|
|
tde_conditional_add_subdirectory( BUILD_DOC doc )
|
|
|
|
|
tde_conditional_add_subdirectory( BUILD_KCRON kcron )
|
|
|
|
|
tde_conditional_add_subdirectory( BUILD_KCRON kcron )
|
|
|
|
|
tde_conditional_add_subdirectory( BUILD_KDAT kdat )
|
|
|
|
|
tde_conditional_add_subdirectory( BUILD_KNETWORKCONF knetworkconf )
|
|
|
|
|
tde_conditional_add_subdirectory( BUILD_KPACKAGE kpackage )
|
|
|
|
|