mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Fixed ctest config
This commit is contained in:
parent
3b2f666b53
commit
0c429928cd
@ -3,7 +3,7 @@ macro (build arg)
|
|||||||
# Add headers to sources to enable file browsing in IDEs
|
# Add headers to sources to enable file browsing in IDEs
|
||||||
include_directories("${CMAKE_SOURCE_DIR}/tests")
|
include_directories("${CMAKE_SOURCE_DIR}/tests")
|
||||||
add_executable("Sqlpp11Example${arg}" "${arg}.cpp" ${sqlpp_headers} "${CMAKE_SOURCE_DIR}/tests/MockDb.h" "${CMAKE_CURRENT_LIST_DIR}/Sample.h")
|
add_executable("Sqlpp11Example${arg}" "${arg}.cpp" ${sqlpp_headers} "${CMAKE_SOURCE_DIR}/tests/MockDb.h" "${CMAKE_CURRENT_LIST_DIR}/Sample.h")
|
||||||
add_test("${arg}" "${arg}")
|
add_test("${arg}" "Sqlpp11Example${arg}")
|
||||||
endmacro ()
|
endmacro ()
|
||||||
|
|
||||||
#build(sample)
|
#build(sample)
|
||||||
|
Loading…
Reference in New Issue
Block a user