Merge pull request #2126 from gangliao/new_tensor
Add Google style conventions in Majelrefactor_docs
commit
ecae6e63c3
@ -1,10 +1,11 @@
|
|||||||
file(GLOB_RECURSE ALL_TEST_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.cpp" "*.cc")
|
file(GLOB_RECURSE ALL_TEST_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.cc")
|
||||||
|
|
||||||
add_executable(majel_tests ${ALL_TEST_FILES})
|
add_executable(majel_tests ${ALL_TEST_FILES})
|
||||||
add_dependencies(majel_tests majel)
|
add_dependencies(majel_tests majel)
|
||||||
target_link_libraries(majel_tests
|
target_link_libraries(majel_tests
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
${GTEST_LIBRARIES}
|
${GTEST_LIBRARIES}
|
||||||
|
${GTEST_MAIN_LIBRARIES}
|
||||||
majel
|
majel
|
||||||
)
|
)
|
||||||
add_test(majel_tests majel_tests)
|
add_test(majel_tests majel_tests)
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
#include "gtest/gtest.h"
|
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
|
||||||
::testing::InitGoogleTest(&argc, argv);
|
|
||||||
return RUN_ALL_TESTS();
|
|
||||||
}
|
|
Loading…
Reference in new issue