[CMake] How to invoke a separate build with CMAKE_CUSTOM_TARGET?
Rolf Eike Beer
eike at sf-mail.de
Thu May 12 07:38:30 EDT 2011
Am Donnerstag, 12. Mai 2011, 12:40:54 schrieb Heine, Christian:
> Thanks Eike for this hint! This works, but I couldn't use it.
> One reason is, that any module is loosely coupled. It doesn't know where the
> other modules it's depends on are located. By this reason I need a place
> where any final library is archived and could be linked by the executable
> at runtime like the /usr/local/lib folder on Linux, so I think the system32
> folder is the right place on windows platforms ...
> The second reason is, that I've to perform an installation before I could
> start the demo files. But normally I would start them before I install the
> module, i.e. to test implementation details. By this reason the demo
> executable must be able to link the actual library after a simple build...
This will create a lib and bin folder inside your build tree where all things
will be located so it should be possible to run things just from the build
tree. BTDT. MT.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the CMake