From: Arnaud Giersch Date: Wed, 19 Jul 2017 09:56:22 +0000 (+0200) Subject: teshsuite/smpi/mpich3-test/f77/datatype: put generated file in build directory. X-Git-Tag: v3_17~353 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a0ddec9dc63d328e71dc4e46bd1341b779d88c72?ds=sidebyside teshsuite/smpi/mpich3-test/f77/datatype: put generated file in build directory. --- diff --git a/.gitignore b/.gitignore index c054e5bee8..2b2b42be43 100644 --- a/.gitignore +++ b/.gitignore @@ -666,7 +666,6 @@ teshsuite/smpi/mpich3-test/f77/datatype/gaddressf teshsuite/smpi/mpich3-test/f77/datatype/hindex1f teshsuite/smpi/mpich3-test/f77/datatype/hindexed_blockf teshsuite/smpi/mpich3-test/f77/datatype/packef -teshsuite/smpi/mpich3-test/f77/datatype/typeaints teshsuite/smpi/mpich3-test/f77/datatype/typeaints.h teshsuite/smpi/mpich3-test/f77/datatype/typecntsf teshsuite/smpi/mpich3-test/f77/datatype/typem2f diff --git a/teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt b/teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt index bd810bd168..bda4c89ccc 100644 --- a/teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt +++ b/teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt @@ -7,8 +7,9 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_FORTRAN) endif() include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi") + include_directories(${CMAKE_CURRENT_BINARY_DIR}) - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/typeaints.h.in ${CMAKE_CURRENT_SOURCE_DIR}/typeaints.h @ONLY) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/typeaints.h.in typeaints.h @ONLY) # add_executable(allctypesf allctypesf.f) add_executable(gaddressf gaddressf.f)