Moved unit tests close to the sources
This commit is contained in:
@@ -4,8 +4,5 @@ add_subdirectory(libs)
|
|||||||
add_subdirectory(lms)
|
add_subdirectory(lms)
|
||||||
add_subdirectory(tools)
|
add_subdirectory(tools)
|
||||||
|
|
||||||
if(BUILD_TESTING)
|
|
||||||
add_subdirectory(test)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
add_library(lmsdatabase SHARED
|
add_library(lmsdatabase SHARED
|
||||||
impl/Artist.cpp
|
impl/Artist.cpp
|
||||||
impl/Cluster.cpp
|
impl/Cluster.cpp
|
||||||
@@ -36,3 +35,6 @@ target_link_libraries(lmsdatabase PUBLIC
|
|||||||
|
|
||||||
install(TARGETS lmsdatabase DESTINATION lib)
|
install(TARGETS lmsdatabase DESTINATION lib)
|
||||||
|
|
||||||
|
if(BUILD_TESTING)
|
||||||
|
add_subdirectory(test)
|
||||||
|
endif()
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
add_library(lmssom SHARED
|
add_library(lmssom SHARED
|
||||||
impl/DataNormalizer.cpp
|
impl/DataNormalizer.cpp
|
||||||
impl/Network.cpp
|
impl/Network.cpp
|
||||||
@@ -19,3 +18,7 @@ target_link_libraries(lmssom PUBLIC
|
|||||||
set_property(TARGET lmssom PROPERTY POSITION_INDEPENDENT_CODE ON)
|
set_property(TARGET lmssom PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
||||||
install(TARGETS lmssom DESTINATION lib)
|
install(TARGETS lmssom DESTINATION lib)
|
||||||
|
|
||||||
|
if(BUILD_TESTING)
|
||||||
|
add_subdirectory(test)
|
||||||
|
endif()
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
add_library(lmsutils SHARED
|
add_library(lmsutils SHARED
|
||||||
impl/ChildProcess.cpp
|
impl/ChildProcess.cpp
|
||||||
impl/ChildProcessManager.cpp
|
impl/ChildProcessManager.cpp
|
||||||
@@ -37,3 +36,6 @@ target_link_libraries(lmsutils PUBLIC
|
|||||||
|
|
||||||
install(TARGETS lmsutils DESTINATION lib)
|
install(TARGETS lmsutils DESTINATION lib)
|
||||||
|
|
||||||
|
if(BUILD_TESTING)
|
||||||
|
add_subdirectory(test)
|
||||||
|
endif()
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
|
|
||||||
add_subdirectory(database)
|
|
||||||
add_subdirectory(som)
|
|
||||||
add_subdirectory(utils)
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user