23 lines
495 B
CMake
23 lines
495 B
CMake
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}
|
|
PRIVATE ${WT_INCLUDE_DIR}
|
|
)
|
|
|
|
target_link_directories(WebApplication
|
|
PUBLIC ${WT_LIBRARY_DIRS}
|
|
)
|
|
|
|
target_link_libraries(WebApplication
|
|
PRIVATE ${WT_LIBRARIES}
|
|
PUBLIC Universal
|
|
) |