-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
36 lines (31 loc) · 950 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
34
35
36
cmake_minimum_required(VERSION 3.10)
project(Carbonara)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
# Include directories
include_directories(src)
# Source files
set(SOURCES
src/point.cpp
src/polyHelix.cpp
src/randomMolGen.cpp
src/ktlMoleculeRandom.cpp
src/experimentalData.cpp
src/hydrationShellRandom.cpp
src/skmt.cpp
src/writheFP.cpp
src/moleculeFitAndState.cpp
src/Logger.cpp
src/helpers.cpp
src/parameters.cpp
)
# Main executables
add_executable(predictStructureQvary ${SOURCES} src/mainPredictionFinalQvar.cpp)
add_executable(generate_structure ${SOURCES} src/Flexible_generator.cpp)
add_executable(single_fit ${SOURCES} src/single_fit.cpp)
# Set output directory for executables
set_target_properties(predictStructureQvary generate_structure single_fit
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
)