forked from opencog/moses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
33 lines (24 loc) · 897 Bytes
/
CMakeLists.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
ENABLE_TESTING()
INCLUDE(AddCxxtest)
IF (WIN32)
ADD_DEFINITIONS(-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES
-D_CRT_SECURE_NO_WARNINGS)
ENDIF (WIN32)
ADD_DEFINITIONS(-DPROJECT_SOURCE_DIR=\\"${CMAKE_SOURCE_DIR}\\"
-DPROJECT_BINARY_DIR=\\"${CMAKE_BINARY_DIR}\\")
# The atom_types.h file is written to the build directory
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
# Perform tests in component-dependency order, as much as possible.
# For example, since everything depends on util and config functions,
# these are tested first. Since most things depend on the atomspace,
# that is tested next, etc.
IF (CXXTEST_FOUND)
# ADD_SUBDIRECTORY (util)
#ADD_SUBDIRECTORY (hillclimbing)
ADD_SUBDIRECTORY (comboreduct)
ADD_SUBDIRECTORY (moses)
ADD_SUBDIRECTORY (feature-selection)
ENDIF (CXXTEST_FOUND)
IF (HAVE_CYTHON)
ADD_SUBDIRECTORY (cython)
ENDIF (HAVE_CYTHON)