CMakeLists.txt 525 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
# ROOT
cmake_minimum_required(VERSION 2.8)

project(IGA)

include (BuildSetup.cmake)
include (BuildFunctions.cmake)

# set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

Diana Chen's avatar
Diana Chen committed
13 14
set (CMAKE_CXX_STANDARD 11)

15 16 17
# do static build for IGA standalone build
set(LINK_AS_STATIC_LIB TRUE)

Diana Chen's avatar
Diana Chen committed
18

19 20 21 22 23
set(GED_BRANCH GED_external)
add_subdirectory(GEDLibrary/${GED_BRANCH})
add_subdirectory(IGALibrary)
add_subdirectory(IGAExe)