diff options
| author | Stephen D. Huston <shuston@apache.org> | 2009-05-11 22:28:26 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2009-05-11 22:28:26 +0000 |
| commit | a68dafc3523b6ddc13517717bf83cbea60e9fa6a (patch) | |
| tree | fe85a783594548c74424494ce0c01434449d3b1d /qpid/cpp/examples | |
| parent | f1a10508996a1082abcff51cdf4722f8443d2dbc (diff) | |
| download | qpid-python-a68dafc3523b6ddc13517717bf83cbea60e9fa6a.tar.gz | |
Patch small probs building tests, examples on Windows
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@773714 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples')
| -rw-r--r-- | qpid/cpp/examples/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/cpp/examples/CMakeLists.txt b/qpid/cpp/examples/CMakeLists.txt index 3c906bd750..73931101bc 100644 --- a/qpid/cpp/examples/CMakeLists.txt +++ b/qpid/cpp/examples/CMakeLists.txt @@ -25,9 +25,15 @@ endif(COMMAND cmake_policy) # This will probably need some fiddling to get right for installed kits. get_directory_property(QPIDC_TOP PARENT_DIRECTORY) include_directories(${QPIDC_TOP}/src ${QPIDC_TOP}/src/gen) + +# Shouldn't need this... but there are still client header inclusions of Boost. include_directories( ${Boost_INCLUDE_DIR} ) link_directories( ${Boost_LIBRARY_DIRS} ) +if (MSVC) + add_definitions( /D "NOMINMAX" /D "WIN32_LEAN_AND_MEAN" ) +endif (MSVC) + # There are numerous duplicate names within the examples. Since all target # names must be unique, define a macro to prepend a prefix and manage the # actual names. |
