Re: [CMake] Acces macro/functions to subfolders

2009-12-17 Thread Marcel Loose
On Wed, 2009-12-16 at 09:28 -0800, Tyler Roscoe wrote: On Wed, Dec 16, 2009 at 05:55:54PM +0100, Olivier Pierard wrote: 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

[CMake] Acces macro/functions to subfolders

2009-12-16 Thread Olivier Pierard
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

Re: [CMake] Acces macro/functions to subfolders

2009-12-16 Thread Tyler Roscoe
On Wed, Dec 16, 2009 at 05:55:54PM +0100, Olivier Pierard wrote: 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

Re: [CMake] Acces macro/functions to subfolders

2009-12-16 Thread Michael Wild
On 16. Dec, 2009, at 18:28 , Tyler Roscoe wrote: On Wed, Dec 16, 2009 at 05:55:54PM +0100, Olivier Pierard wrote: 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