Build all catalogs.
[AROS.git] / config / conf.cmake.in
blob977654ce6c4d8573c9e4f00d8cecca24d18db8c6
2 # The Following Flags are handled in make.tmpl's build_with_cmake macros.
4 # CMAKE_C_FLAGS
5 # CMAKE_CXX_FLAGS
6 # CMAKE_EXE_LINKER_FLAGS
8 # AROS configuration...
10 SET(CMAKE_SYSTEM_NAME AROS)
11 SET(CMAKE_SYSTEM_VERSION 1)
12 SET(CMAKE_SYSTEM_PROCESSOR @aros_target_cpu@)
13 SET(BUILD_SHARED_LIBS OFF)
14 SET(LIBTYPE STATIC)
15 SET(CMAKE_BUILD_TYPE Release)
16 SET(CMAKE_FIND_ROOT_PATH @AROS_BUILDDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development)
17 SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
18 SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
19 SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
20 SET(CMAKE_LIBRARY_PATH_FLAG @AROS_BUILDDIR@/bin/@aros_target_arch@-@aros_target_cpu@@aros_target_suffix@/AROS/Development/lib)
21 SET(CMAKE_SYSTEM_PROCESSOR @aros_target_cpu@)
22 SET(CMAKE_AR @aros_plain_ar@ CACHE FILEPATH "Archiver")
23 IF(NOT CMAKE_C_COMPILER)
24   SET(CMAKE_C_COMPILER @aros_target_cc@)
25   SET(CMAKE_C_COMPILER_WORKS:INTERNAL TRUE)
26 ENDIF()
27 IF(NOT CMAKE_CXX_COMPILER)
28   SET(CMAKE_CXX_COMPILER @aros_target_cxx@)
29   SET(CMAKE_CXX_COMPILER_WORKS:INTERNAL TRUE)
30 ENDIF()
31 SET(CMAKE_MODULE_PATH "@SRCDIR@/config/cmake" ${CMAKE_MODULE_PATH}) # For AROS FindPackage scripts
32 SET(CMAKE_BUILD_TYPE Release CACHE STRING "Debug|Release|RelWithDebInfo|MinSizeRel")
33 SET(CMAKE_CROSS_COMPILING ON) # Workaround for http://www.cmake.org/Bug/view.php?id=14075
34 SET(CMAKE_CROSSCOMPILING ON)
35 # SET(PKG_CONFIG_EXECUTABLE )