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-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-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::HTTP
|
2024-11-26 22:58:54 +08:00
|
|
|
PRIVATE Database
|
2024-10-30 23:59:59 +08:00
|
|
|
)
|