Skip to content

Commit 4e44181

Browse files
committed
add particle_generator_single_resolution to ctest
1 parent e649c90 commit 4e44181

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cases_test/test_2d_particle_generator_single_resolution/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/data/SPHinXsys-2d.dat
1919
aux_source_directory(. DIR_SRCS)
2020
ADD_EXECUTABLE(${PROJECT_NAME} ${DIR_SRCS})
2121

22+
add_test(NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME})
23+
2224
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
2325
target_link_libraries(${PROJECT_NAME} sphinxsys_2d ${TBB_LIBRARYS} ${Simbody_LIBRARIES})
2426
add_dependencies(${PROJECT_NAME} sphinxsys_2d sphinxsys_static_2d)

0 commit comments

Comments
 (0)