23 lines
482 B
CMake
23 lines
482 B
CMake
find_package(Wt REQUIRED Wt)
|
|
|
|
add_library(WebApplication
|
|
WebApplication.h WebApplication.cpp
|
|
LoginWidget.h LoginWidget.cpp
|
|
User.h User.cpp
|
|
Hello.h Hello.cpp
|
|
Restful.h Restful.cpp
|
|
Dialog.h Dialog.cpp
|
|
Session.h Session.cpp
|
|
)
|
|
|
|
target_include_directories(WebApplication
|
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
target_link_libraries(WebApplication
|
|
PUBLIC Universal
|
|
PRIVATE Wt::Wt
|
|
PRIVATE Wt::Dbo
|
|
PRIVATE Wt::HTTP
|
|
PRIVATE Wt::DboSqlite3
|
|
) |