stuff-from-scratch/apps/CMakeLists.txt

32 lines
1.3 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
network database geometry audio graphics)
# 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
database geometry audio)
# Xml practice
add_executable(xml_practice xml-practice.cpp)
target_include_directories(xml_practice PUBLIC
"${PROJECT_SOURCE_DIR}/src/core"
2020-05-03 06:56:27 +00:00
"${PROJECT_SOURCE_DIR}/src/web/xml"
2020-05-02 07:31:03 +00:00
)
2020-05-03 06:56:27 +00:00
target_link_libraries(xml_practice PUBLIC core web)
2020-05-02 07:31:03 +00:00
# Markdown practice
add_executable(markdown_practice markdown-practice.cpp)
target_include_directories(markdown_practice PUBLIC
"${PROJECT_SOURCE_DIR}/src/core"
"${PROJECT_SOURCE_DIR}/src/web/markdown"
)
target_link_libraries(markdown_practice PUBLIC web core)