Mercurial > malikania
comparison tests/libserver/dao-account/CMakeLists.txt @ 39:56ab2f0c90dc
Server: add sqlite basic backend, closes #558
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 27 Nov 2016 18:00:49 +0100 |
parents | a1e80d991968 |
children | f8c6d2244795 |
comparison
equal
deleted
inserted
replaced
38:ecf316d52f5d | 39:56ab2f0c90dc |
---|---|
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | 14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
17 # | 17 # |
18 | 18 |
19 project(test-dao-account) | |
20 | |
21 set(TEST_CLASS_NAME TestAccountSqlite) | |
22 configure_file(test.hpp ${test-dao-account_BINARY_DIR}/test-sqlite.hpp) | |
23 | |
19 malikania_create_test( | 24 malikania_create_test( |
20 NAME dao-account | 25 NAME dao-account |
21 LIBRARIES libmlk-server | 26 LIBRARIES libmlk-server |
22 SOURCES main.cpp | 27 SOURCES main.cpp test.hpp |
23 ) | 28 ) |
24 | 29 |
30 target_include_directories(test-dao-account PRIVATE ${test-dao-account_BINARY_DIR}) | |
25 target_compile_definitions(test-dao-account PRIVATE DRIVERDIR=\"${CMAKE_BINARY_DIR}/fakeroot/${WITH_DRIVERDIR}/\") | 31 target_compile_definitions(test-dao-account PRIVATE DRIVERDIR=\"${CMAKE_BINARY_DIR}/fakeroot/${WITH_DRIVERDIR}/\") |