-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
50 lines (47 loc) · 1.12 KB
/
CMakeLists.txt
File metadata and controls
50 lines (47 loc) · 1.12 KB
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
add_executable(pstack_gui WIN32
app.cpp
controls.cpp
list_view.cpp
main_window.cpp
parts_list.cpp
results_list.cpp
save.cpp
viewport.cpp
)
target_sources(pstack_gui PUBLIC FILE_SET headers TYPE HEADERS FILES
constants.hpp
controls.hpp
list_view.hpp
main_window.hpp
parts_list.hpp
preferences.hpp
results_list.hpp
save.hpp
transformation.hpp
viewport.hpp
)
set_target_properties(pstack_gui PROPERTIES
PROJECT_LABEL "gui"
)
target_link_libraries(pstack_gui PRIVATE
jsoncons
wx::net
wx::core
wx::base
wx::gl
pstack_calc
pstack_files
pstack_geo
pstack_graphics
)
target_include_directories(pstack_gui PRIVATE "${PROJECT_SOURCE_DIR}/src")
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_compile_options(pstack_gui PRIVATE "/bigobj")
endif()
set(PSTACK_OUTPUT_TYPE "GUI")
set(PSTACK_OUTPUT_FILE_NAME "PartStackerGUI")
pstack_configure_target_info(pstack_gui)
set_target_properties(pstack_gui PROPERTIES
OUTPUT_NAME ${PSTACK_OUTPUT_FILE_NAME}
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin/${CMAKE_OSX_ARCHITECTURES}"
)