-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
20 lines (14 loc) · 835 Bytes
/
CMakeLists.txt
File metadata and controls
20 lines (14 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
project(PATH64)
cmake_minimum_required(VERSION 2.8)
set(DEBUG_BUILD_FLAGS "-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute" CACHE INTERNAL "" FORCE)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${DEBUG_BUILD_FLAGS}" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${DEBUG_BUILD_FLAGS}" CACHE STRING "" FORCE)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
include(ConfigureChecks)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
${CMAKE_CURRENT_BINARY_DIR}/config.h)
include_directories(AFTER SYSTEM ${CMAKE_CURRENT_BINARY_DIR})
add_definitions(-DTARG_X8664 -DKEY -DFE_GNU_4_2_0 -DIs_True_On -DHAVE_CONFIG_H)
add_subdirectory(ekopath-gcc-4.2.0)
add_subdirectory(libspin)
add_subdirectory(pathscale)