Hello everybody,

I am using CMake 2.8 to build a Fortran executable that uses Winteracter graphical library.
The build is performed using Intel Fortran Compiler.

I read in previous discussion (http://www.cmake.org/pipermail/cmake/2004-January/004664.html) that just adding the rc file as a source file should work but apparently not. When building my project the rc filed seems to be skipped.

I used the following set of commands:

#######################################################
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)

project(sxtalsoftsuite Fortran)

set(source_files Src/rc/sxtalsoftsuite.rc Src/rc/sxtalsoftsuite_rc.f90 Src/sxtalsoftsuite_gui.f90 Src/sxtalsoftsuite.f90)

include_directories($ENV{WINTER}/lib.if8)

add_executable(sxtalsoftsuite ${source_files})

target_link_libraries(sxtalsoftsuite $ENV{WINTER}/lib.if8/winter.lib)
#######################################################

I also read that there was a bug (http://www.cmake.org/Bug/view.php?id=4068) with CMake concerning ignored rc files without warning.

Does my case fall in that category ?

Would you have any hint to circumvent that problem ?

thanks a lot

Eric

--
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France

_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to