Robert Dailey wrote:
Check if CMAKE_SIZE_VOID_P is 8 (64bit) or 4 (32bit).
That seems random. The name also doesn't make any sense. Is there not a
more intuitive way?
The variable is CMAKE_SIZEOF_VOID_P, and it is documented:
http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:
On Thu, Jan 15, 2009 at 2:22 PM, Hendrik Sattler wrote:
> Am Thursday 15 January 2009 18:13:43 schrieb Robert Dailey:
> > On Thu, Jan 15, 2009 at 10:07 AM, Michael Jackson <
> >
> > mike.jack...@bluequartz.net> wrote:
> > > To look for the Compiler being used..
> > >
> > > IF (MSVC60)
> > >SET
Am Thursday 15 January 2009 18:13:43 schrieb Robert Dailey:
> On Thu, Jan 15, 2009 at 10:07 AM, Michael Jackson <
>
> mike.jack...@bluequartz.net> wrote:
> > To look for the Compiler being used..
> >
> > IF (MSVC60)
> >SET (...)
> > ENDIF (MSVC60)
> > IF (MSVC71)
> >SET ()
> > ENDIF
On Thu, Jan 15, 2009 at 11:30 AM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:
> I am not really sure about the ins-and-outs of Windows Dev but looking
> through the Windows-cl.cmake file (Located in the
> CMake-2.6.2/share/cmake-2.6/Modules directory) there are some variables that
> you
On Jan 15, 2009, at 12:13 PM, Robert Dailey wrote:
On Thu, Jan 15, 2009 at 10:07 AM, Michael Jackson > wrote:
To look for the Compiler being used..
IF (MSVC60)
SET (...)
ENDIF (MSVC60)
IF (MSVC71)
SET ()
ENDIF(MSVC71)
IF (MSVC80)
SET ()
ENDIF(MSVC80)
IF (MSVC90)
On Thu, Jan 15, 2009 at 10:07 AM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:
> To look for the Compiler being used..
>
> IF (MSVC60)
>SET (...)
> ENDIF (MSVC60)
> IF (MSVC71)
>SET ()
> ENDIF(MSVC71)
> IF (MSVC80)
>SET ()
> ENDIF(MSVC80)
> IF (MSVC90)
>
To look for the Compiler being used..
IF (MSVC60)
SET (...)
ENDIF (MSVC60)
IF (MSVC71)
SET ()
ENDIF(MSVC71)
IF (MSVC80)
SET ()
ENDIF(MSVC80)
IF (MSVC90)
SET (.)
ENDIF (MSVC90)
_
Mike Jackson
On Thu, Jan 15, 2009 at 4:03 AM, Hendrik Sattler wrote:
> It is kind of odd to test for the generator when the choice in fact depends
> on
> the compiler! What about e.g. Nmake?
Well the TBB libraries are set up in such a way that they depend on specific
versions of Visual Studio. How can I chec
Am Thursday 15 January 2009 06:06:54 schrieb Robert Dailey:
> if( CMAKE_GENERATOR STREQUAL "Visual Studio 9 2008" )
> set( TBB_PATH_SUFFIX ai32/vc9 )
> elseif( CMAKE_GENERATOR STREQUAL "Visual Studio 8 2005" )
> set( TBB_PATH_SUFFIX ai32/vc8 )
> elseif( CMAKE_GENERATOR STREQUAL "Visual Stud
On Thu, Jan 15, 2009 at 1:29 AM, Robert Dailey wrote:
> On Wed, Jan 14, 2009 at 11:23 PM, Michael Jackson <
> mike.jack...@bluequartz.net> wrote:
>
>> I would try the following just to make sure it will find the library:
>>
>> find_library(TBB_LIBRARY
>>NAMES tbb
>>PATHS /
On Wed, Jan 14, 2009 at 11:23 PM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:
> I would try the following just to make sure it will find the library:
>
> find_library(TBB_LIBRARY
>NAMES tbb
>PATHS /ai32/vc9/lib )
>
> Substitute the proper full path for in the pat
I would try the following just to make sure it will find the library:
find_library(TBB_LIBRARY
NAMES tbb
PATHS /ai32/vc9/lib )
Substitute the proper full path for in the path
above.
Run CMake and see if the TBB_LIBRARY gets found. If it does get found
by CMake then
Hi,
I'm creating a Find module for Intel's TBB library and I can't get
find_library to work properly. It's just not finding the library. The path
to the library in question is */ai32/vc9/lib/tbb.lib* for
the MSVC9 32-bit compiler. Am I doing something wrong? I've set the root
path to the TBB libra
13 matches
Mail list logo