Older/WebApplication/CMakeLists.txt

31 lines
758 B
CMake
Raw Normal View History

2024-10-30 23:59:59 +08:00
add_library(WebApplication
WebApplication.h WebApplication.cpp
2024-11-01 19:05:20 +08:00
BlogApplication.h BlogApplication.cpp
2024-10-30 23:59:59 +08:00
Hello.h Hello.cpp
2024-11-01 19:05:20 +08:00
Restful.h Restful.cpp
2024-10-31 23:30:34 +08:00
Dialog.h Dialog.cpp
2024-10-31 19:40:29 +08:00
Session.h Session.cpp
2024-11-01 19:05:20 +08:00
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
2024-10-30 23:59:59 +08:00
)
target_include_directories(WebApplication
2024-11-01 19:05:20 +08:00
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
2024-10-30 23:59:59 +08:00
PRIVATE ${WT_INCLUDE_DIR}
)
target_link_directories(WebApplication
PUBLIC ${WT_LIBRARY_DIRS}
)
target_link_libraries(WebApplication
PUBLIC wt
PUBLIC wttest
PUBLIC wthttp
2024-10-31 19:40:29 +08:00
PUBLIC wtdbo
PUBLIC wtdbosqlite3
2024-10-30 23:59:59 +08:00
PUBLIC Universal
)