mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-10 15:53:28 +08:00
795079531a
* cmake: use ${PROJECT_NAME} instead of drogon everywere * cmake: use export namespace instead of dummy library
8 lines
272 B
CMake
8 lines
272 B
CMake
link_libraries(${PROJECT_NAME})
|
|
|
|
add_executable(db_test db_test.cc Users.cc)
|
|
|
|
set_property(TARGET db_test PROPERTY CXX_STANDARD ${DROGON_CXX_STANDARD})
|
|
set_property(TARGET db_test PROPERTY CXX_STANDARD_REQUIRED ON)
|
|
set_property(TARGET db_test PROPERTY CXX_EXTENSIONS OFF)
|