Tests: move Sketcher test target to appropriate CMakeLists.txt file
This commit is contained in:
@@ -69,6 +69,7 @@ add_executable(Tests_run)
|
||||
add_executable(Mesh_tests_run)
|
||||
add_executable(Part_tests_run)
|
||||
add_executable(Points_tests_run)
|
||||
add_executable(Sketcher_tests_run)
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(src)
|
||||
target_include_directories(Tests_run PUBLIC
|
||||
@@ -82,16 +83,3 @@ target_link_libraries(Tests_run
|
||||
FreeCADApp
|
||||
)
|
||||
|
||||
add_executable(Sketcher_tests_run)
|
||||
add_subdirectory(src/Mod/Sketcher)
|
||||
target_include_directories(Sketcher_tests_run PUBLIC
|
||||
${EIGEN3_INCLUDE_DIR}
|
||||
${OCC_INCLUDE_DIR}
|
||||
${Python3_INCLUDE_DIRS}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
)
|
||||
target_link_libraries(Sketcher_tests_run
|
||||
gtest_main
|
||||
${Google_Tests_LIBS}
|
||||
Sketcher
|
||||
)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
add_subdirectory(Mesh)
|
||||
add_subdirectory(Part)
|
||||
add_subdirectory(Points)
|
||||
add_subdirectory(Sketcher)
|
||||
|
||||
@@ -1 +1,15 @@
|
||||
|
||||
target_include_directories(Sketcher_tests_run PUBLIC
|
||||
${EIGEN3_INCLUDE_DIR}
|
||||
${OCC_INCLUDE_DIR}
|
||||
${Python3_INCLUDE_DIRS}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(Sketcher_tests_run
|
||||
gtest_main
|
||||
${Google_Tests_LIBS}
|
||||
Sketcher
|
||||
)
|
||||
|
||||
add_subdirectory(App)
|
||||
|
||||
Reference in New Issue
Block a user