Re: [CMake] how to determine debug or release mode?

2012-03-14 Thread Dirk vanMeeuwen
IF(CMAKE_BUILD_TYPE MATCHES DEBUG) message("debug mode") ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG) Kind regards, Dirk van Meeuwen, Process Modeling Engineer Technip Benelux B.V. Boerhaavelaan 31, PO Box 86 2700 AB Zoetermeer direct dial: +31 (0)79 3293 843 direct fax : +31 (0)79 3293 700 direc

[CMake] #include and fortran dependencies

2012-02-28 Thread Dirk vanMeeuwen
Dear all, I am quite new to cmake and just started to setup cmake for a large project, consisting of mainly fortran code. We use the Intel compiler, version 12, for windows. This compiler supports the following code: #include "fpp-Windows-definition.inc" MODULE MSG ... END MODULE However, when