Can anyone point my to a project, including scripts etc, that shows how to use Visual Studio as the build mechanism for a Visual Fortran project?

My Problem is the following: I am generating a Visual Studio with Intel Fortran compiler (v16.x) from CMake but when I load the resulting sln file into Visual Studio and compile the only thing that gets compiled are a few *.c files in the project and NOT the 100 actual *.f90 files. If I use NMake from the command line then I can actually invoke "nmake" and have my project properly compile. I am not sure what is going on or where the issue is.

I also tried to use NMake from the command line but I am have no idea which environment and/or cmake variables I need to set in order for my batch file and .cmake file combination to actually get the Intel Fortran compiler set properly. I tried using "call ... " with the proper path to the Intel Fortran .bat file that lays out all the variables but it seems to just prematurely exit the command prompt and nothing gets configured or compiled. I can successfully configure a .sln file for my project during a "nightly" build but then the .sln does not actually compile any of the fortran source files.

If anyone has any insight into these issues I would greatly appreciate the help.

Thanks
--
Michael A. Jackson
BlueQuartz Software, LLC
[e]: mike.jack...@bluequartz.net
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to