-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
73 lines (61 loc) · 1.59 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
cmake_minimum_required(VERSION 3.12)
project(gandr-gui VERSION 0.1.0)
set( CMAKE_CXX_STANDARD 14 )
include( FetchContent )
#######################################################################
# Declare project dependencies
#######################################################################
FetchContent_Declare( cereal
GIT_REPOSITORY https://github.com/USCiLab/cereal
GIT_TAG origin/master
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(
cereal)
#include(CTest)
#enable_testing()
find_package(wxWidgets REQUIRED COMPONENTS net core base richtext)
include(${wxWidgets_USE_FILE})
include_directories("include")
add_library(gandr-gui-lib
src/AddCovDialog.cpp
src/AddMaterialWizard.cpp
src/AddRunWizard.cpp
src/AddSensDialog.cpp
src/ENDFReader.cpp
src/EditGridWindow.cpp
src/EditIntegSensDialog.cpp
src/EndfNumbers.cpp
src/EventListCtrl.cpp
src/EventListPanel.cpp
src/ExforCovDialog.cpp
src/ExforIndexGridDialog.cpp
src/ExforReader.cpp
src/GandrSettingsFrame.cpp
src/GanrunConfiguration.cpp
src/GlobalConfiguration.cpp
src/GlobalSettingsDialog.cpp
src/GridButton.cpp
src/GridEditPanel.cpp
src/IdefDialog.cpp
src/InitSetupWizard.cpp
src/IntegConfiguration.cpp
src/RunConfiguration.cpp
src/csv.cpp
src/gen_utils.cpp
src/sens_reader.cpp
)
target_link_libraries( gandr-gui-lib
${wxWidgets_LIBRARIES}
cereal)
add_executable(gandr-gui
GandrGUIMain.cpp
GandrGUIApp.cpp
)
target_link_libraries(gandr-gui
cereal
gandr-gui-lib
)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
#include(CPack)