Hi,
On Tue, 2009-03-10 at 18:26 -0500, Carsten Neumann wrote:
> Hello Allen,
>
> Allen Bierbaum wrote:
> >
> > - Is it possible to build release and debug at the same time?
>
> no.
this depends a little on your build system, for makefiles it is
a limited no (not in the scons way, see below), for visual studio it is
yes.
> > - Does the last of release/debug setup symbolic links from a common
> > directory any more?
>
> Before running make install the libs are in ${CMAKE_BUILD_DIR}/bin, IIRC
> the release libs are put in ${CMAKE_INSTALL_PREFIX}/lib{64} and debug
> libs in ${CMAKE_INSTALL_PREFIX}/lib{64}/dbg, I don't think it currently
> creates symlinks.
no because there is no consistent way to do it cross platform and more
importantly for headers/inlines this is utterly broken and confuses
debuggers quite a bit as they tend to see headers/inlines twice.
but with regards to the variant building, there is a way to keep these
consistent :
1) setup the main build dir and variant, e.g. Debug ,as usual, e.g.
in OpenSG.build
2) setup a secondary build dir and variant, e.g. Release as a dependent
build by running (from Notes.cmake)
cmake -DOSG_BUILD_DEPENDEND:INTERNAL=true
-DOSG_REFERENCE_DIR:INTERNAL=../OpenSG.build ../OpenSG
the dependent build only allows you to change a limited set of options
and tracks the main build dir so the variants stay consistent to each
other.
kind regards,
gerrit
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users