Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
teshsuite/smpi/mpich3-test/f77/datatype: put generated file in build directory.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 19 Jul 2017 09:56:22 +0000 (11:56 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 20 Jul 2017 08:53:27 +0000 (10:53 +0200)
.gitignore
teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt

index c054e5b..2b2b42b 100644 (file)
@@ -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
index bd810bd..bda4c89 100644 (file)
@@ -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)