24 lines
477 B
CMake
24 lines
477 B
CMake
add_library(WebApplication
|
|
WebApplication.h WebApplication.cpp
|
|
Hello.h Hello.cpp
|
|
Session.h Session.cpp
|
|
User.h User.cpp
|
|
)
|
|
|
|
target_include_directories(WebApplication
|
|
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
PRIVATE ${WT_INCLUDE_DIR}
|
|
)
|
|
|
|
target_link_directories(WebApplication
|
|
PUBLIC ${WT_LIBRARY_DIRS}
|
|
)
|
|
|
|
target_link_libraries(WebApplication
|
|
PUBLIC wt
|
|
PUBLIC wttest
|
|
PUBLIC wthttp
|
|
PUBLIC wtdbo
|
|
PUBLIC wtdbosqlite3
|
|
PUBLIC Universal
|
|
) |