feat/support_orm #2

Merged
tqcq merged 7 commits from feat/support_orm into develop 2024-01-06 21:56:47 +08:00
3 changed files with 6 additions and 1 deletions
Showing only changes of commit e1d99b3a49 - Show all commits

View File

@ -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

View File

@ -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)); }

View File

@ -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