2024-11-25 14:41:31 +08:00
|
|
|
find_package(Wt REQUIRED Wt)
|
|
|
|
|
2024-10-30 23:59:59 +08:00
|
|
|
add_library(WebApplication
|
|
|
|
WebApplication.h WebApplication.cpp
|
2024-11-19 23:39:40 +08:00
|
|
|
LoginWidget.h LoginWidget.cpp
|
2024-11-11 19:21:48 +08:00
|
|
|
User.h User.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-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
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(WebApplication
|
|
|
|
PUBLIC Universal
|
2024-11-25 14:41:31 +08:00
|
|
|
PRIVATE Wt::Wt
|
|
|
|
PRIVATE Wt::Dbo
|
|
|
|
PRIVATE Wt::HTTP
|
|
|
|
PRIVATE Wt::DboSqlite3
|
2024-10-30 23:59:59 +08:00
|
|
|
)
|