Boost logo

Boost Users :

From: ope (ope-devel_at_[hidden])
Date: 2007-08-29 15:21:05


Hi Doug,

> It's right here:
>
> http://svn.boost.org/trac/boost/browser/sandbox-branches/boost-cmake/
> boost_1_34_0/tools/wave/CMakeLists.txt

I wasn't very carefully, you are in right - there are:

$ find . -name \*.txt -exec egrep -i -H boost_add_executable {} \;
./tools/wave/CMakeLists.txt:boost_add_executable(wave cpp.cpp
./tools/quickbook/CMakeLists.txt:boost_add_executable(quickbook

> boost_add_executable is used in several places throughout the Boost
> CMake branch, including the regression testing.

>> boost_add_executable(...
>> DEPENDS boost_program_options-gcc41-mt-1_34 ...
>> )
>>
>> works!
>>
>> Did I something wrong or is there an error inside boost's
>> BoostConfig.cmake?
>
> It sounds like an error in the Boost CMake code. A few quick questions:
> - Are you using the latest from https://svn.boost.org/svn/boost/
> sandbox-branches/boost-cmake/boost_1_34_0 ?

Yes:
$ svn update
Revision 39052.

> - Which version of CMake are you using?

cmake version 2.4-patch 7

> - Do you recall which CMake options you changed?

No changes;
boost/build/libs/wave$ make
[ 11%] Built target boost_filesystem-mt-shared
[ 22%] Built target boost_wave-mt-shared
[ 22%] Built target boost_filesystem-mt-shared-debug
[ 33%] Built target boost_wave-mt-shared-debug
[ 44%] Built target boost_wave-mt-static
[ 55%] Built target boost_wave-mt-static-debug
[ 55%] Built target boost_filesystem-shared
[ 66%] Built target boost_wave-shared
[ 77%] Built target boost_filesystem-shared-debug
[ 88%] Built target boost_wave-shared-debug
[100%] Built target boost_wave-static
[100%] Built target boost_wave-static-debug

But there isn't a wave exe created:

$ ll ../../../build/bin/
insgesamt 12K
drwxr-xr-x 3 opetzold opetzold 4,0K 2007-08-29 18:30 .
drwxr-xr-x 7 opetzold opetzold 4,0K 2007-08-29 18:30 ..
drwxr-xr-x 61 opetzold opetzold 4,0K 2007-08-29 18:30 tests

Maybe I have to build all libs?

Regards,
Olaf


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net