[Cmake] I'm trying to do something evil with SUBS()

Kriss Kriss at XIXs.com
Sat Jul 31 17:33:31 EDT 2004


Hi

I want to include a cmake/tree into another cmake/tree . I'm happy with 
the files having to be compiled again and placed in the new projects 
build dirs so I was hoping to be able to do something like this

SUBS( ../../../foo )

This does actually work, but the output files get the ../../../ added to 
their destination directory, which puts them somewhere silly 3 levels 
higher than I would like them. For instance in this case I would like it 
to build it into /foo not /../../../foo

Is it possible to just rename where they will be built?

I tried a few things but I'm guessing the variables I'm trying to edit 
are read only so changing them has no effect on the core.

-- 

Kriss

http://XIXs.com -><- http://www.WetGenes.com
mailto:Kriss at XIXs.com
ICQ:2082142(work) and 681874(home)
MSN:krisss at hotmail.com
AIM:Kriss1923 YAHOO:yah_kriss



More information about the Cmake mailing list