Hi,
I'm trying to build both release and debug versions and install them both into one prefix.
So to not overwrite files I want to suffix installed debug ones with '_d' as on Windows.
I use
../../../src/ois/configure CFLAGS="-g3 -gdwarf-2" CXXFLAGS="-g3 -gdwarf-2" CPPFLAGS="-DDEBUG" --prefix=`pwd`/../../../ --program-suffix=_d
opposite to
../../../src/ois/configure --prefix=`pwd`/../../../
in release.
Here is the partial diff from release and debug makefiles:
RELEASE
prefix = /home/orel/devel/sandbox/dep/build/ois/release/../../..
program_transform_name = s,x,x,
DEBUG
prefix = /home/orel/devel/sandbox/dep/build/ois/debug/../../..
program_transform_name = s&$$&_d&
So as you can see there are different sed commands and it's ok.
But 'program_transform_name' var is never used in the makefile later.
And thus my installed files are not suffixed with _d.
Is this an issue with OIS build system or just I'm doing something wrong?
Thanks.