2024-11-25 14:41:31 +08:00
|
|
|
find_package(Wt REQUIRED Wt)
|
|
|
|
|
2024-10-30 23:59:59 +08:00
|
|
|
add_library(WebApplication
|
2024-12-01 15:10:25 +08:00
|
|
|
Application.h Application.cpp
|
|
|
|
BulmaTheme.h BulmaTheme.cpp
|
2024-12-02 01:18:57 +08:00
|
|
|
HomePage.h HomePage.cpp
|
|
|
|
LoginPage.h LoginPage.cpp
|
2024-12-18 23:35:26 +08:00
|
|
|
NavigationBar.h NavigationBar.cpp
|
2024-11-27 23:50:04 +08:00
|
|
|
VisitorRecordsPage.h VisitorRecordsPage.cpp
|
2024-11-28 19:34:24 +08:00
|
|
|
VisitorRecordTableModel.h VisitorRecordTableModel.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
|
|
|
)
|
|
|
|
|
2024-12-01 15:10:25 +08:00
|
|
|
get_filename_component(PARENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY)
|
|
|
|
|
2024-10-30 23:59:59 +08:00
|
|
|
target_include_directories(WebApplication
|
2024-12-01 15:10:25 +08:00
|
|
|
INTERFACE ${PARENT_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
|
|
|
)
|