Older/WebApplication/CMakeLists.txt

35 lines
1003 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-02 00:30:14 +08:00
model/asciidoc.h model/asciidoc.cpp
2024-11-01 19:05:20 +08:00
model/BlogSession.h model/BlogSession.cpp
model/BlogUserDatabase.h model/BlogUserDatabase.cpp
2024-11-02 00:30:14 +08:00
model/Comment.h model/Comment.cpp
model/Post.h model/Post.cpp
model/Tag.h model/Tag.cpp
model/Token.h model/Token.cpp
2024-11-01 19:05:20 +08:00
model/User.h model/User.cpp
2024-11-02 00:30:14 +08:00
view/BlogLoginWidget.h view/BlogLoginWidget.cpp
2024-11-01 19:05:20 +08:00
view/BlogView.h view/BlogView.cpp
2024-11-02 00:30:14 +08:00
view/CommentView.h view/CommentView.cpp
2024-11-01 19:05:20 +08:00
view/EditUsers.h view/EditUsers.cpp
2024-11-02 00:30:14 +08:00
view/PostView.h view/PostView.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
2024-11-03 22:31:23 +08:00
PRIVATE ${WT_LIBRARIES}
2024-10-30 23:59:59 +08:00
PUBLIC Universal
)