2012/1/17 Brad King <[email protected]>: > On 1/17/2012 2:13 PM, Eric Noulard wrote: >> >> The current comments in Modules/CMakeRCInformation.cmake >> >> looks like copy/paste from another file. >> >> # This file sets the basic flags for the Fortran language in CMake. >> # It also loads the available platform file for the system-compiler >> # if it exists. > > > Obviously this was copied from CMakeFortranInformation at some point. > Just s/Fortran/RC/.
OK. >> # set this variable so we can avoid loading this more than once. >> SET(CMAKE_RC_INFORMATION_LOADED 1) >> >> but "CMAKE_RC_INFORMATION_LOADED" does not seem to be used anywhere? > > > It's used in the C++ code: > > http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGlobalGenerator.cxx;hb=v2.8.6#l421 ok my bad. Didn't noticed that "RC" could be a language just as C, CXX etc... >> Would somebody explain me how this file is used and from where? >> How does this file >> CMakeRCInformation.cmake >> relates to: >> CMakeDetermineRCCompiler.cmake >> CMakeRCCompiler.cmake.in >> CMakeTestRCCompiler.cmake > > > The language init process is documented here: > > http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmGlobalGenerator.cxx;hb=v2.8.6#l152 Thanks Brad I'll read that's what I was looking for. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
