Add cmake and clang format and linter

This commit is contained in:
jfmcarreira committed 2021-02-13 04:08:43 +00:00
1 parent 1674ec4061
commit d0933f43c9
16 files changed
+13060 -12188

No files matched your search

+10 -14
View File
@@ -1,18 +1,14 @@
###
### CMakeLists for playuver lib tests component
###
#
# CMakeLists for playuver lib tests component
#
INCLUDE_DIRECTORIES( ${GTEST_INCLUDE_DIRS} )
INCLUDE_DIRECTORIES(${GTEST_INCLUDE_DIRS})
ADD_DEFINITIONS(-DCALYP_TEST_DATA_DIR=\"${CALYP_TEST_DATA_DIR}\")
foreach(module ${MODULES_LIST_NAME})
ADD_EXECUTABLE(TestModuleCreate_${module} TestModuleCreate.cpp )
TARGET_COMPILE_DEFINITIONS(TestModuleCreate_${module} PUBLIC -DCALYP_TEST_MODULE_NAME=\"${module}\")
TARGET_LINK_LIBRARIES(TestModuleCreate_${module} ${PROJECT_LIBRARY} CalypModules gtest gtest_main )
ADD_TEST(TestModuleCreate_${module} TestModuleCreate_${module})
endforeach(module ${MODULES_LIST_NAME})
FOREACH(module ${MODULES_LIST_NAME})
ADD_EXECUTABLE(TestModuleCreate_${module} TestModuleCreate.cpp)
TARGET_COMPILE_DEFINITIONS(TestModuleCreate_${module} PUBLIC -DCALYP_TEST_MODULE_NAME=\"${module}\")
TARGET_LINK_LIBRARIES(TestModuleCreate_${module} ${PROJECT_LIBRARY} CalypModules gtest gtest_main)
ADD_TEST(TestModuleCreate_${module} TestModuleCreate_${module})
ENDFOREACH(module ${MODULES_LIST_NAME})