I work on a similarly large project and have found that building shared
libraries for development is much faster (in terms of compile/link time)
when making small changes (working in Visual Studio). Nightly or test builds
can use static libraries to produce single executables.
Provided you have
?
Thanks,
Mike
--
Mike Talbot
Core Petrel Architect (Abingdon)
Schlumberger
Lambourn Court, Wyndyke Furlong,
Abingdon Business Park, Abingdon,
Oxfordshire, OX14 1UJ, UK
Office: +44 (0)1235 543 488
Mobile: +44 (0)7790 382 746
___
CMake mailing list
CMake
,
David
On 7/19/07, *Mike Talbot* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi,
I'm trying to work out how to test for an environment variable in
an IF
command, the following doesn't work:
SET(ENV{FOO} ON)
MESSAGE(FOO = $ENV{FOO})# prints FOO = ON
IF(ENV
I have made some enhancements to FindBoost.cmake to try to add support
for the boost libraries (attached).
Basic use is something like this:
FIND_PACKAGE(Boost)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
ADD_EXECUTABLE(signal signal.cpp)
TARGET_LINK_LIBRARIES(signal ${Boost_signal_LIBRARIES})
Cristian Adam wrote:
Please update your findboost.cmake with the changes the original
poster made, by
adding boost-1.34 (and others) to SUFFIX_FOR_PATH.
Done.
I have also submitted these changes as a feature request
http://public.kitware.com/Bug/bug.php?op=showbugid=5057pos=0
Regards,
Mike
Hi,
I have created a custom build rule to generate doxygen documentation for
my project like this:
FIND_PACKAGE(Doxygen)
CONFIGURE_FILE(
${PROJECT_SOURCE_DIR}/doxyfile.in
${PROJECT_BINARY_DIR}/doxyfile)
ADD_CUSTOM_TARGET(DOCUMENTATION
COMMAND ${DOXYGEN} ${PROJECT_BINARY_DIR}/doxyfile)
I have a similar problem, except that using ADD_DEPENDENCIES to make the
library with generated files a dependency of the targets that use it,
causes the target libraries to include a copy of the dependent library
when built as static libraries with VC71 (this is a long standing
(mis)feature
Jan Woetzel wrote:
Mike Talbot wrote:
2.4.2 ... doesn't define the preprocessor symbol WIN32 ... for the VS
7.1 generator.
I cannot confirm this.
It works here as expected
- with cmake 2.4.2 on Windows
- using Visual studio .net 2003 generator.
Have a look at a hello world example
:/build/lib/$(OutDir)/MyUnitTest.dll but ctest does not expand
$(OutDir) to the build config (e.g. Debug). Am I missing something or
is this a bug?
[I am using cmake version 2.2-patch 3 on Windows XP]
Thanks,
Mike
--
Mike Talbot
Senior Software Developer
Schlumberger
Lambourn Court, Wyndyke Furlong