[CMake] Acces macro/functions to subfolders
Olivier Pierard
olivier.pierard at cenaero.be
Wed Dec 16 11:55:54 EST 2009
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
More information about the CMake
mailing list