Boost logo

Boost :

From: Maik Beckmann (maikbeckmann_at_[hidden])
Date: 2007-11-10 03:32:40


Am Freitag 09 November 2007 20:33:36 schrieb Maik Beckmann:
> Can you spend some Makefiles/bjam files for building the samples?
>
> From what I can read out of basic_usage.vcproj
> dir_spec.cpp
> file_statistics.cpp
> log.cpp
> main.cpp
> parse_file.cpp
> util.cpp

I don't speak bjam fluid, so just because lack of time here the CMakeLists.txt
I used, for those who know CMake.

<CMakeLists.txt>
project(basic_usage)

set(BOOST_ROOT /mnt/debian_sda/home/maik/workspace/boost)
set(BOOST_SANDBOX_ROOT /mnt/debian_sda/home/maik/workspace/boost-sandbox)

set(compiler gcc42)

include_directories(
    ${BOOST_ROOT}
    ${BOOST_SANDBOX_ROOT}/logging
)
link_directories(
    ${BOOST_ROOT}/stage/lib
)

add_executable(basic_usage
    dir_spec.cpp
    file_statistics.cpp
    log.cpp
    main.cpp
    parse_file.cpp
    util.cpp
)

target_link_libraries(basic_usage
    boost_thread-${compiler}-mt
    boost_filesystem-${compiler}-mt
)
</CMakeLists.txt>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk