stuff-from-scratch/apps/CMakeLists.txt

34 lines
1.2 KiB
CMake
Raw Normal View History

2020-05-02 07:31:03 +00:00
# Sample GUI
add_executable(sample_gui gui-main.cpp)
target_include_directories(sample_gui PUBLIC
"${PROJECT_SOURCE_DIR}/src/console"
"${PROJECT_SOURCE_DIR}/src/client"
)
target_link_libraries(sample_gui PUBLIC client windows console core
2020-07-04 18:43:08 +00:00
network database geometry audio web)
2021-04-17 12:57:14 +00:00
if(WIN32)
2020-07-04 18:43:08 +00:00
add_executable(sample_gui_win WIN32 gui-main-win.cpp)
target_include_directories(sample_gui PUBLIC
"${PROJECT_SOURCE_DIR}/src/console"
"${PROJECT_SOURCE_DIR}/src/client"
)
target_link_libraries(sample_gui_win PUBLIC client windows console core
network database geometry audio web)
2021-04-17 12:57:14 +00:00
set_property(TARGET sample_gui_win PROPERTY FOLDER apps)
endif()
2020-05-02 07:31:03 +00:00
# Sample Console
add_executable(sample_console console-main.cpp)
target_include_directories(sample_console PUBLIC
"${PROJECT_SOURCE_DIR}/src/console"
)
target_link_libraries(sample_console PUBLIC console core network
2020-05-09 14:29:45 +00:00
database geometry audio web)
2020-07-04 18:43:08 +00:00
set_property(TARGET sample_console PROPERTY FOLDER apps)
2022-10-03 06:45:10 +00:00
set_property(TARGET sample_gui PROPERTY FOLDER apps)
2022-10-03 07:12:38 +00:00
add_subdirectory(website-generator)
2022-10-03 06:45:10 +00:00