"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tests/CMakeLists.txt" between
CGNS-4.1.2.tar.gz and CGNS-4.2.0.tar.gz

About: The CGNS (CFD General Notation System) provides a standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations.

CMakeLists.txt  (CGNS-4.1.2):CMakeLists.txt  (CGNS-4.2.0)
######### #########
# Tests # # Tests #
######### #########
# Link all the executables to cgns and hdf5 # Link all the executables to cgns and hdf5
link_libraries(cgns_static) if(CGNS_BUILD_SHARED)
link_libraries(cgns_shared)
else(CGNS_BUILD_SHARED)
link_libraries(cgns_static)
endif(CGNS_BUILD_SHARED)
if (CGNS_ENABLE_HDF5 AND HDF5_LIBRARY) if (CGNS_ENABLE_HDF5 AND HDF5_LIBRARY)
link_libraries(${HDF5_LIBRARY}) link_libraries(${HDF5_LIBRARY})
if(HDF5_NEED_ZLIB AND ZLIB_LIBRARY) if(HDF5_NEED_ZLIB AND ZLIB_LIBRARY)
link_libraries(${ZLIB_LIBRARY}) link_libraries(${ZLIB_LIBRARY})
endif(HDF5_NEED_ZLIB AND ZLIB_LIBRARY) endif(HDF5_NEED_ZLIB AND ZLIB_LIBRARY)
if(HDF5_NEED_SZIP AND SZIP_LIBRARY) if(HDF5_NEED_SZIP AND SZIP_LIBRARY)
link_libraries(${SZIP_LIBRARY}) link_libraries(${SZIP_LIBRARY})
endif(HDF5_NEED_SZIP AND SZIP_LIBRARY) endif(HDF5_NEED_SZIP AND SZIP_LIBRARY)
if(HDF5_NEED_MPI AND MPI_LIBS) if(HDF5_NEED_MPI AND MPI_LIBS)
skipping to change at line 31 skipping to change at line 35
if (NOT WIN32) if (NOT WIN32)
link_libraries(m) link_libraries(m)
endif (NOT WIN32) endif (NOT WIN32)
# Set the files needed by each test # Set the files needed by each test
set(cgioc_FILES cgioc.c) set(cgioc_FILES cgioc.c)
set(dbtest_FILES dbtest.c utils.c) set(dbtest_FILES dbtest.c utils.c)
set(elemtest_FILES elemtest.c) set(elemtest_FILES elemtest.c)
set(open_cgns_FILES open_cgns.c utils.c) set(open_cgns_FILES open_cgns.c utils.c)
set(ser_benchmark_hdf5_FILES ser_benchmark_hdf5.c) set(ser_benchmark_hdf5_FILES ser_benchmark_hdf5.c)
set(test_core_vfd_FILES test_core_vfd.c)
set(test_exts_FILES test_exts.c) set(test_exts_FILES test_exts.c)
set(test_goto_FILES test_goto.c) set(test_goto_FILES test_goto.c)
set(test_partial_FILES test_partial.c) set(test_partial_FILES test_partial.c)
set(test_ver31_FILES test_ver31.c) set(test_ver31_FILES test_ver31.c)
set(test_multifam_FILES test_multifam.c) set(test_multifam_FILES test_multifam.c)
set(test_general_rind_FILES test_general_rind.c) set(test_general_rind_FILES test_general_rind.c)
set(test_general_reshape_FILES test_general_reshape.c) set(test_general_reshape_FILES test_general_reshape.c)
set(test_bbox_FILES test_bbox.c) set(test_bbox_FILES test_bbox.c)
set(write_array_FILES write_array.c utils.c) set(write_array_FILES write_array.c utils.c)
set(write_bcdata_FILES write_bcdata.c utils.c) set(write_bcdata_FILES write_bcdata.c utils.c)
set(write_links_FILES write_links.c utils.c) set(write_links_FILES write_links.c utils.c)
set(write_rind_FILES write_rind.c) set(write_rind_FILES write_rind.c)
set(write_test_FILES write_test.c) set(write_test_FILES write_test.c)
set(write_zones_FILES write_zones.c utils.c) set(write_zones_FILES write_zones.c utils.c)
set(test_family_tree_FILES test_family_tree.c) set(test_family_tree_FILES test_family_tree.c)
set(test_complex_FILES test_complex.c)
set(test_convert_elem_FILES test_convert_elem.c)
#set(cgiof_FILES cgiof.F90) #set(cgiof_FILES cgiof.F90)
#set(cgwrite_FILES cgwrite.F90) #set(cgwrite_FILES cgwrite.F90)
#set(cgread_FILES cgread.F90) #set(cgread_FILES cgread.F90)
#set(cgzconn_FILES cgzconn.F90) #set(cgzconn_FILES cgzconn.F90)
#set(cgsubreg_FILES cgsubreg.F90) #set(cgsubreg_FILES cgsubreg.F90)
set(cgiof_f03_FILES cgiof_f03.F90) set(cgiof_f03_FILES cgiof_f03.F90)
set(cgwrite_f03_FILES cgwrite_f03.F90) set(cgwrite_f03_FILES cgwrite_f03.F90)
set(cgread_f03_FILES cgread_f03.F90) set(cgread_f03_FILES cgread_f03.F90)
set(cgzconn_f03_FILES cgzconn_f03.F90) set(cgzconn_f03_FILES cgzconn_f03.F90)
set(cgsubreg_f03_FILES cgsubreg_f03.F90) set(cgsubreg_f03_FILES cgsubreg_f03.F90)
set(test_general_rindf_FILES test_general_rindf.F90) set(test_general_rindf_FILES test_general_rindf.F90)
set(test_family_treef_FILES test_family_treef.F90) set(test_family_treef_FILES test_family_treef.F90)
set(test_bboxf_FILES test_bboxf.F90) set(test_bboxf_FILES test_bboxf.F90)
set(test_complexf_FILES test_complexf.F90)
# Build each test # Build each test
add_executable( cgioc ${cgioc_FILES} ) add_executable( cgioc ${cgioc_FILES} )
add_executable( dbtest ${dbtest_FILES} ) add_executable( dbtest ${dbtest_FILES} )
add_executable( elemtest ${elemtest_FILES} ) add_executable( elemtest ${elemtest_FILES} )
add_executable( open_cgns ${open_cgns_FILES} ) add_executable( open_cgns ${open_cgns_FILES} )
add_executable( ser_benchmark_hdf5 ${ser_benchmark_hdf5_FILES} ) add_executable( ser_benchmark_hdf5 ${ser_benchmark_hdf5_FILES} )
add_executable( test_core_vfd ${test_core_vfd_FILES} )
add_executable( test_exts ${test_exts_FILES} ) add_executable( test_exts ${test_exts_FILES} )
add_executable( test_goto ${test_goto_FILES} ) add_executable( test_goto ${test_goto_FILES} )
add_executable( test_partial ${test_partial_FILES} ) add_executable( test_partial ${test_partial_FILES} )
add_executable( test_ver31 ${test_ver31_FILES} ) add_executable( test_ver31 ${test_ver31_FILES} )
add_executable( test_multifam ${test_multifam_FILES} ) add_executable( test_multifam ${test_multifam_FILES} )
add_executable( test_general_rind ${test_general_rind_FILES} ) add_executable( test_general_rind ${test_general_rind_FILES} )
add_executable( test_general_reshape ${test_general_reshape_FILES} ) add_executable( test_general_reshape ${test_general_reshape_FILES} )
add_executable( write_array ${write_array_FILES} ) add_executable( write_array ${write_array_FILES} )
add_executable( write_bcdata ${write_bcdata_FILES} ) add_executable( write_bcdata ${write_bcdata_FILES} )
add_executable( write_links ${write_links_FILES} ) add_executable( write_links ${write_links_FILES} )
add_executable( write_rind ${write_rind_FILES} ) add_executable( write_rind ${write_rind_FILES} )
add_executable( write_test ${write_test_FILES} ) add_executable( write_test ${write_test_FILES} )
add_executable( write_zones ${write_zones_FILES} ) add_executable( write_zones ${write_zones_FILES} )
add_executable( test_family_tree ${test_family_tree_FILES} ) add_executable( test_family_tree ${test_family_tree_FILES} )
add_executable( test_bbox ${test_bbox_FILES} ) add_executable( test_bbox ${test_bbox_FILES} )
add_executable( test_complex ${test_complex_FILES} )
add_executable( test_convert_elem ${test_convert_elem_FILES} )
# Conditionally build the fortran tests # Conditionally build the fortran tests
if (CGNS_ENABLE_FORTRAN) if (CGNS_ENABLE_FORTRAN)
#add_executable( f2c_test ${f2c_test_FILES} ) #add_executable( f2c_test ${f2c_test_FILES} )
add_executable( cgiof_f03 ${cgiof_f03_FILES} ) add_executable( cgiof_f03 ${cgiof_f03_FILES} )
add_executable( cgwrite_f03 ${cgwrite_f03_FILES} ) add_executable( cgwrite_f03 ${cgwrite_f03_FILES} )
add_executable( cgread_f03 ${cgread_f03_FILES} ) add_executable( cgread_f03 ${cgread_f03_FILES} )
add_executable( cgzconn_f03 ${cgzconn_f03_FILES} ) add_executable( cgzconn_f03 ${cgzconn_f03_FILES} )
add_executable( cgsubreg_f03 ${cgsubreg_f03_FILES} ) add_executable( cgsubreg_f03 ${cgsubreg_f03_FILES} )
add_executable( test_general_rindf ${test_general_rindf_FILES} ) add_executable( test_general_rindf ${test_general_rindf_FILES} )
add_executable( test_family_treef ${test_family_treef_FILES} ) add_executable( test_family_treef ${test_family_treef_FILES} )
add_executable( test_bboxf ${test_bboxf_FILES} ) add_executable( test_bboxf ${test_bboxf_FILES} )
add_executable( test_complexf ${test_complexf_FILES} )
# if (NOT CGNS_ENABLE_64BIT) # if (NOT CGNS_ENABLE_64BIT)
# Don't build the F77 source because they will fail if ENABLE_64BIT is used # Don't build the F77 source because they will fail if ENABLE_64BIT is used
# add_executable( cgiof ${cgiof_FILES} ) # add_executable( cgiof ${cgiof_FILES} )
# add_executable( cgwrite ${cgwrite_FILES} ) # add_executable( cgwrite ${cgwrite_FILES} )
# add_executable( cgread ${cgread_FILES} ) # add_executable( cgread ${cgread_FILES} )
# add_executable( cgzconn ${cgzconn_FILES} ) # add_executable( cgzconn ${cgzconn_FILES} )
# add_executable( cgsubreg ${cgsubreg_FILES} ) # add_executable( cgsubreg ${cgsubreg_FILES} )
# endif (NOT CGNS_ENABLE_64BIT) # endif (NOT CGNS_ENABLE_64BIT)
endif (CGNS_ENABLE_FORTRAN) endif (CGNS_ENABLE_FORTRAN)
# Add the tests so that ctest can find them # Add the tests so that ctest can find them
if (CGNS_ENABLE_TESTS) if (CGNS_ENABLE_TESTS)
add_test( cgioc cgioc ) add_test( cgioc cgioc )
add_test( elemtest elemtest ) add_test( elemtest elemtest )
add_test( ser_benchmark_hdf5 ser_benchmark_hdf5 ) add_test( ser_benchmark_hdf5 ser_benchmark_hdf5 )
add_test( test_core_vfd test_core_vfd )
add_test( test_exts test_exts ) add_test( test_exts test_exts )
add_test( test_goto test_goto ) add_test( test_goto test_goto )
add_test( test_partial test_partial ) add_test( test_partial test_partial )
add_test( test_ver31 test_ver31 ) add_test( test_ver31 test_ver31 )
add_test( test_multifam test_multifam ) add_test( test_multifam test_multifam )
add_test( test_general_rind test_general_rind ) add_test( test_general_rind test_general_rind )
add_test( test_general_reshape test_general_reshape ) add_test( test_general_reshape test_general_reshape )
add_test( write_array write_array ) add_test( write_array write_array )
add_test( write_bcdata write_bcdata ) add_test( write_bcdata write_bcdata )
add_test( write_links write_links ) add_test( write_links write_links )
add_test( write_rind write_rind ) add_test( write_rind write_rind )
add_test( write_test write_test ) add_test( write_test write_test )
add_test( write_zones write_zones ) add_test( write_zones write_zones )
add_test( test_family_tree test_family_tree ) add_test( test_family_tree test_family_tree )
add_test( test_bbox test_bbox ) add_test( test_bbox test_bbox )
add_test( test_complex test_complex )
add_test( test_convert_elem test_convert_elem )
# Conditionally add the fortran tests # Conditionally add the fortran tests
if (CGNS_ENABLE_FORTRAN) if (CGNS_ENABLE_FORTRAN)
#add_test( f2c_test f2c_test ) # This still needs a regex test #add_test( f2c_test f2c_test ) # This still needs a regex test
add_test( cgiof_f03 cgiof_f03 ) add_test( cgiof_f03 cgiof_f03 )
add_test( cgwrite_f03 cgwrite_f03 ) add_test( cgwrite_f03 cgwrite_f03 )
add_test( cgread_f03 cgread_f03 ) add_test( cgread_f03 cgread_f03 )
add_test( cgzconn_f03 cgzconn_f03 ) add_test( cgzconn_f03 cgzconn_f03 )
add_test( cgsubreg_f03 cgsubreg_f03 ) add_test( cgsubreg_f03 cgsubreg_f03 )
add_test( test_general_rindf test_general_rindf ) add_test( test_general_rindf test_general_rindf )
add_test( test_family_treef test_family_treef ) add_test( test_family_treef test_family_treef )
add_test( test_bboxf test_bboxf ) add_test( test_bboxf test_bboxf )
add_test( test_complexf test_complexf )
# if (NOT CGNS_ENABLE_64BIT) # if (NOT CGNS_ENABLE_64BIT)
# add_test( cgiof cgiof) # add_test( cgiof cgiof)
# add_test( cgwrite cgwrite ) # add_test( cgwrite cgwrite )
# add_test( cgread cgread ) # add_test( cgread cgread )
# add_test( cgzconn cgzconn ) # add_test( cgzconn cgzconn )
# add_test( cgsubreg cgsubreg ) # add_test( cgsubreg cgsubreg )
# endif (NOT CGNS_ENABLE_64BIT) # endif (NOT CGNS_ENABLE_64BIT)
endif (CGNS_ENABLE_FORTRAN) endif (CGNS_ENABLE_FORTRAN)
endif (CGNS_ENABLE_TESTS) endif (CGNS_ENABLE_TESTS)
 End of changes. 10 change blocks. 
1 lines changed or deleted 17 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)