stuff-from-scratch/apps/website-generator/CMakeLists.txt

26 lines
647 B
CMake
Raw Normal View History

2022-10-03 07:12:38 +00:00
list(APPEND website_generator_LIB_INCLUDES
ContentFile.h
ContentFile.cpp
ContentPage.h
ContentPage.cpp
2022-10-03 07:12:38 +00:00
MarkdownContentParser.h
2022-10-03 07:46:41 +00:00
MarkdownContentParser.cpp
SiteGeneratorConfig.h
SiteGeneratorConfig.cpp
2022-10-03 07:46:41 +00:00
WebsiteGenerator.h
WebsiteGenerator.cpp
)
2022-10-03 07:12:38 +00:00
add_executable(website_generator main.cpp ${website_generator_LIB_INCLUDES})
target_include_directories(website_generator PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
2022-10-03 07:12:38 +00:00
)
target_link_libraries(website_generator PUBLIC core web compiler)
2022-10-03 07:12:38 +00:00
set_property(TARGET website_generator PROPERTY FOLDER apps/website-generator)