wrote:
On 08.09.09 13:47:56, Joseph Garvin wrote:
Without this patch FindBoost.cmake will look for the wrong filenames
when linking against a release build of boost. For debug it looks for
the correct names, but for release it adds spurious hyphens. It looks
like the hyphens used
From the try_compile docs:
In this version all files in bindir/CMakeFiles/CMakeTmp, will be
cleaned automatically, for debugging a --debug-trycompile can be
passed to cmake to avoid the clean. Some extra flags that can be
included are, INCLUDE_DIRECTORIES, LINK_DIRECTORIES, and
LINK_LIBRARIES.
Without this patch FindBoost.cmake will look for the wrong filenames
when linking against a release build of boost. For debug it looks for
the correct names, but for release it adds spurious hyphens. It looks
like the hyphens used to be necessary, then the code changed and
someone changed debug to
One of the cool features of autotools is configure tests -- actually
invoking the compiler on a small sample program and seeing if it's
successful. Does CMake do this or do you have to depend on #ifdef
SOME_PLATFORM blocks to enable/disable features?
___
Under windows, everything works fine. However, trying to build my project on
Linux, I think that cmake isn't properly setting up linking against the
debug versions of the wxwidgets libraries. wxWidgets has a function,
wxLogDebug, that prints text in debug mode but does nothing in release mode.
I'm working with 3 CMakeLists.txt files I didn't write, so I'm trying to
figure out the reasoning behind them.
-Application A has a CMakeLists.txt file with TARGET_LINK_LIBARIES(LibB,
LibC).
-LibB and LibC each have their own subfolders and CMakeLists.txt file, and
use ADD_LIBRARY to declare
:/ blitz-[0-9].[0-9])
So I don't think the crash is caused by the MESSAGE() line.
On Nov 5, 2007 4:58 PM, Brandon Van Every [EMAIL PROTECTED] wrote:
On Nov 5, 2007 4:36 PM, Joseph Garvin [EMAIL PROTECTED] wrote:
I'm trying to find all folders matching the pattern blitz-[0-9].[0-9]
so
it would
I'm trying to find all folders matching the pattern blitz-[0-9].[0-9] so
it would match blitz-0.3, blitz-2.4, etc. within the folders C:\ and
C:\Program Files. Starting to code this I put this in an otherwise empty
.cmake file:
FILE(GLOB BLITZ_TMP C:/ blitz-[0-9].[0-9])
MESSAGE(${BLITZ_TMP})
I'm trying to write a FindBlitz.cmake file for the popular Blitz++ library (
http://www.oonumerics.org/blitz/). On windows, the folder containing blitz
is usually of the form C:/blitz-x.x (where x.x is a version number). I would
like to say, Look for blitz/blitz.h in any folder matching