Dear all, In order to be able to use a macro/function from several sub-folders, I would like to define it only once in the main CMakeLists.txt. However, after some basic tests, It seems impossible to call this macro/function from subfolders. Is is possible to do it ?
By the way, what's the basic difference between macro/function in cmake ? Related to preprocessing like in C/C++ ? What's the advantage of distinguish them here ? Thanks for your help, Olivier -- Olivier Pierard CENAERO, Virtual Manufacturing Group Bâtiment EOLE, 1er étage Rue des Frères Wright, 29 B-6041 Gosselies BELGIUM Tel: +32.(0)71.919374 Fax: +32.(0)71.919370 http://www.cenaero.be/ +-+-+- Disclaimer +-+-+- http://www.cenaero.be/disclaimer _______________________________________________ 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