forked from msneddon/nfsim
-
Notifications
You must be signed in to change notification settings - Fork 9
/
CMakeLists.x86.txt
58 lines (44 loc) · 1.33 KB
/
CMakeLists.x86.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
cmake_minimum_required(VERSION 2.8.9)
project(NFsim)
#find_package(XMLRPC REQUIRED abyss-server c++2)
SET(CMAKE_C_COMPILER C:/cygwin/bin/gcc.exe)
SET(CMAKE_CXX_COMPILER C:/cygwin/bin/g++.exe)
#if (NOT XMLRPC_FOUND)
# message (FATAL_ERROR "XMLRPC-C not found")
#endif (NOT XMLRPC_FOUND)
set(CMAKE_BUILD_TYPE Release)
set(SUB_DIRS
src/nauty24
src/NFutil
src/NFutil/MTrand
src/NFtest/transcription
src/NFtest/tlbr
src/NFtest/simple_system
src/NFtest/agentcell/cell
src/NFtest/agentcell
src/NFscheduler
src/NFreactions/transformations
src/NFreactions/reactions
src/NFreactions/reactantLists
src/NFreactions/mappings
src/NFreactions
src/NFoutput
src/NFinput
src/NFinput/TinyXML
src/NFinput/json
src/NFfunction/muParser
src/NFfunction
src/NFcore
src/NFcore/reactionSelector
src/NFcore/moleculeLists
)
add_definitions("-Wno-deprecated-declarations")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -DTIXML_USE_STL ")
include_directories(${CMAKE_CURRENT_SOURCE_DIR} include ${SUB_DIRS})
file(GLOB_RECURSE src_files "${CMAKE_CURRENT_SOURCE_DIR}/src/*cpp")
file(GLOB_RECURSE c_src_files "${CMAKE_CURRENT_SOURCE_DIR}/src/*c")
set(SRC_FILES
${src_files}
${c_src_files}
)
add_executable(${PROJECT_NAME} ${SRC_FILES} )