Older/WebApplication/CMakeLists.txt
luocai 27ffee57be
Some checks failed
Deploy / PullDocker (push) Successful in 4s
Deploy / Build (push) Failing after 1m34s
Deploy Docker Images / Docusaurus build and Server deploy (push) Successful in 14s
add blog code.
2024-11-01 19:05:20 +08:00

31 lines
758 B
CMake

add_library(WebApplication
WebApplication.h WebApplication.cpp
BlogApplication.h BlogApplication.cpp
Hello.h Hello.cpp
Restful.h Restful.cpp
Dialog.h Dialog.cpp
Session.h Session.cpp
model/BlogSession.h model/BlogSession.cpp
model/BlogUserDatabase.h model/BlogUserDatabase.cpp
model/User.h model/User.cpp
view/BlogView.h view/BlogView.cpp
view/EditUsers.h view/EditUsers.cpp
)
target_include_directories(WebApplication
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
PRIVATE ${WT_INCLUDE_DIR}
)
target_link_directories(WebApplication
PUBLIC ${WT_LIBRARY_DIRS}
)
target_link_libraries(WebApplication
PUBLIC wt
PUBLIC wttest
PUBLIC wthttp
PUBLIC wtdbo
PUBLIC wtdbosqlite3
PUBLIC Universal
)