feat/support_orm #2
@ -83,7 +83,7 @@ target_sources(${PROJECT_NAME} PRIVATE
|
||||
src/ulib/log/log.cpp
|
||||
src/ulib/log/level.cpp
|
||||
)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt jsoncpp_static)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt jsoncpp_static sqlpp11::sqlpp11)
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE ULIB_LIBRARY_IMPL)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||
3party/inja
|
||||
|
@ -1 +1,5 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <sqlpp11/select.h>
|
||||
#include <sqlpp11/alias_provider.h>
|
||||
|
||||
TEST(sqlpp11, select) { select(sqlpp::value(false).as(sqlpp::alias::a)); }
|
||||
|
@ -14,6 +14,7 @@ add_executable(ulib_test
|
||||
ulib/system/timer_unittest.cpp
|
||||
3party/inja/inja_unittest.cpp
|
||||
3party/optional/optional_unittest.cpp
|
||||
3party/sqlpp11/sqlpp11_unittest.cpp
|
||||
ulib/utils/defer_unittest.cpp
|
||||
)
|
||||
target_link_libraries(ulib_test PRIVATE
|
||||
|
Loading…
Reference in New Issue
Block a user