[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.13.2.2 1.13.2.3 test_preprocess.F90 1.1 1.1.2.1

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Mar 23 13:58:52 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/Fortran
In directory public:/mounts/ram/cvs-serv2063/Tests/Fortran

Modified Files:
      Tag: CMake-2-6
	CMakeLists.txt test_preprocess.F90 
Log Message:
ENH: check in changes to branch, most importantly the header file do not compile fix


Index: test_preprocess.F90
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Fortran/test_preprocess.F90,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C 2 -d -r1.1 -r1.1.2.1
*** test_preprocess.F90	9 Jan 2008 15:30:11 -0000	1.1
--- test_preprocess.F90	23 Mar 2009 17:58:50 -0000	1.1.2.1
***************
*** 47,55 ****
  ! 0 ; <empty>
  
! #ifdef BAR
!   PRINT * , 'BAR was defined via ADD_DEFINITIONS'
! #else
!   PRINT *, 'If you can read this something went wrong'
! #endif
  
  END PROGRAM
--- 47,51 ----
  ! 0 ; <empty>
  
! #include "test_preprocess.h"
  
  END PROGRAM

Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Fortran/CMakeLists.txt,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -C 2 -d -r1.13.2.2 -r1.13.2.3
*** CMakeLists.txt	2 Dec 2008 12:07:41 -0000	1.13.2.2
--- CMakeLists.txt	23 Mar 2009 17:58:50 -0000	1.13.2.3
***************
*** 128,131 ****
--- 128,132 ----
  
    add_definitions(-DFOO -DBAR=1)
+   include_directories(${testf_SOURCE_DIR}/include)
    add_executable(test_preprocess test_preprocess.F90)
  



More information about the Cmake-commits mailing list