You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG "-fno-limit-debug-info")
|
|
|
|
set(CMAKE_C_FLAGS_DEBUG "-fno-limit-debug-info")
|
|
|
|
|
|
|
|
macro(add_om_test _TEST_NAME)
|
|
|
|
|
|
|
|
add_executable(${_TEST_NAME}_tests
|
|
|
|
${_TEST_NAME}_tests.cpp
|
|
|
|
#${MONERO_DIR}/tests/core_tests/chaingen.cpp
|
|
|
|
#${MONERO_DIR}/tests/core_tests/chaingen001.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(${_TEST_NAME}_tests
|
|
|
|
gtest gtest_main
|
|
|
|
${LIBRARIES})
|
|
|
|
|
|
|
|
add_test(NAME ${_TEST_NAME}_tests COMMAND ${_TEST_NAME}_tests)
|
|
|
|
|
|
|
|
endmacro()
|
|
|
|
|
|
|
|
resource_dir("./res")
|
|
|
|
|
|
|
|
add_om_test(mysql)
|