Say your project is called foo, you could do something like this:
# Mark variables to be included in the cache-init script
# The variables must already exist in the cache.
function(foo_add_cache_init_vars)
get_property(is_defined GLOBAL PROPERTY FOO_CACHE_INIT_VARIABLES DEFINED)
if(NOT
Hi,
the solution with a master CMakeLists.txt works well but now I don't
know how to write wrapper for OPTION and SET functions, can you give
me an example?
I'm quite new to cmake so another question is:
what is the diffence between create a xxx-config and the file I create
with INSTALL(EXPORT
Hi!
I'm building a project that require a 3rd party library libqxmpp. Both project
uses cmake
I want to build libqxmpp with ExternalProject_add, this the code I use:
ExternalProject_add(
libqxmpp
#no download, i'm using git submodule
DOWNLOAD_COMMAND
CMAKE_ARGS
On 17. Mar, 2010, at 13:17 , Nicola Brisotto wrote:
Hi!
I'm building a project that require a 3rd party library libqxmpp. Both
project uses cmake
I want to build libqxmpp with ExternalProject_add, this the code I use:
ExternalProject_add(
libqxmpp
#no download, i'm using
Hi Michael and Nicola,
I'm in a similar situation as I' m trying to build up a cmake based
dependency builder for OpenSceneGraph based projects:
So I' m really interested in any best practice advice
Michael Wild wrote:
On 17. Mar, 2010, at 13:17 , Nicola Brisotto wrote:
Hi!
I'm building
On 17. Mar, 2010, at 14:37 , Luigi Calori wrote:
Hi Michael and Nicola,
I'm in a similar situation as I' m trying to build up a cmake based
dependency builder for OpenSceneGraph based projects:
So I' m really interested in any best practice advice
Michael Wild wrote:
On 17. Mar, 2010,
[...]
He's not downloading with CMake, he just told git that in this directory is a
submodule. The user has then to fetch it himself with one command:
http://git.wiki.kernel.org/index.php/GitSubmoduleTutorial
Sorry ... no git expert at all my point was just to hack
On Wednesday 17 March 2010, Michael Wild wrote:
On 17. Mar, 2010, at 15:43 , Luigi Calori wrote:
...
Is this ExternalProject_Add feature really used/developed? I find it
really nice but a little scared of weather it will be really supported
and improved. I have done some patching on it