mirror of
https://github.com/reactos/CMake.git
synced 2025-01-23 12:15:20 +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.
8 lines
163 B
CMake
8 lines
163 B
CMake
file(READ out.txt IN)
|
|
message("${IN}")
|
|
if(IN MATCHES Hello AND IN MATCHES World)
|
|
message("Passed")
|
|
else()
|
|
message(FATAL_ERROR "Hello world not found")
|
|
endif()
|