mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 06:20:23 +00:00
3c53fbb1f0
For custom commands in VS2010 Fortran projects the INTDIR variable is different than in the rest of the solution because Intel fortran still uses the old VS project files even in VS2010. So, we replace $(Configuration) directly in the project files. I have also added a FortranOnly test that tests this feature and is run on any generator that has Fortran abilities.
9 lines
204 B
CMake
9 lines
204 B
CMake
file(READ testfhello.txt IN)
|
|
message("${IN}")
|
|
if(IN MATCHES Hello AND IN MATCHES World)
|
|
message("Passed")
|
|
else()
|
|
message(FATAL_ERROR "Hello world not found")
|
|
endif()
|
|
file(WRITE testfhello2.txt ${IN})
|