20 lines
417 B
CMake
20 lines
417 B
CMake
include(GNUInstallDirs)
|
|
|
|
add_executable(gen_html "html.cpp")
|
|
|
|
target_link_libraries(gen_html
|
|
PRIVATE fediblock)
|
|
|
|
install(TARGETS gen_html
|
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
RENAME ${PROJECT_NAME}-gen_html)
|
|
|
|
add_executable(gen_rss "rss.cpp")
|
|
|
|
target_link_libraries(gen_rss
|
|
PRIVATE fediblock)
|
|
|
|
install(TARGETS gen_rss
|
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
RENAME ${PROJECT_NAME}-gen_rss)
|