On Wednesday 22 April 2009, Martin Apel wrote:
> Hi all,
>
> I am currently fighting with Visual Studio regenerating a
> CMake-generated project on every build, although nothing has changed. I
> am searching for a method how to debug the generated dependencies inside
> VS. The project builds a DLL from Fortran files, which are generated by a
> Perl script. The setup looks something like this:
>
> ADD_CUSTOM_COMMAND(OUTPUT ${FortranSources}
>                    COMMAND ${CMAKE_COMMAND} -E chdir
> ${CMAKE_CURRENT_BINARY_DIR} ${PERL_EXECUTABLE}
> {CMAKE_SOURCE_DIR}/scripts/createFortAccessors.pl
>                    DEPENDS
> ${CMAKE_SOURCE_DIR}/scripts/createFortAccessors.pl FortranModules.inp
> FortranCommons.inp ${ModuleDefs} ${CommonDefs})
> ADD_LIBRARY(FortranInterface SHARED ${FortranSources} FortranInterface.def)

What is ModuleDefs and CommonDefs ? Are this files ?
How does FortranSources look like ? Does it contain absolute paths ?
I think you need to give a bit more information so that we can help.

Alex
_______________________________________________
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