Skip to content

Commit

Permalink
add particle_generator_single_resolution to ctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangyu-Hu committed Jun 25, 2021
1 parent e649c90 commit 4e44181
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/data/SPHinXsys-2d.dat
aux_source_directory(. DIR_SRCS)
ADD_EXECUTABLE(${PROJECT_NAME} ${DIR_SRCS})

add_test(NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME})

if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
target_link_libraries(${PROJECT_NAME} sphinxsys_2d ${TBB_LIBRARYS} ${Simbody_LIBRARIES})
add_dependencies(${PROJECT_NAME} sphinxsys_2d sphinxsys_static_2d)
Expand Down

0 comments on commit 4e44181

Please sign in to comment.