Dear CMake list subscripers, I have a project with verious ADD_LIBRARY/ADD_EXECUTABLE targets in different subdirectories. Some of these targets depend on mico corba, some don't. As well as some depend on libxml2, some don't.
We have developers working on sub-projects, which do not require mico nor libxml2. How to check for required dependencies, when user types "gmake <Projectname>". Because only then I know if mico and libxml2 are required or not. And what is the difference between MACRO and FUNCTION? The following Fortran code cannot be compiled with CMake, because CMake looks for module called "name", which of course, does not exist. If I replace "Module" with "_Module_" the code compiles. =============forbug.f C Line 1 (Output) ; Module name SUBROUTINE PRINT_SOMETHING() WRITE(*,*) 'Something' END =============CMakeLists.txt PROJECT(FORBUG Fortran) CMAKE_MINIMUM_REQUIRED(VERSION 2.6.1 FATAL_ERROR) SET (FORBUG_SRCS forbug.f ) ADD_LIBRARY(forbug ${FORBUG_SRCS}) ============= Denis _______________________________________________ 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