On Thu, 5 Apr 2007, Alan W. Irwin wrote:
On 2007-04-05 14:59+0200 Klaas Gadeyne wrote:
Hi,
I'm trying to build a library. I have created 2 options, in order to
allow static or dynamic linking in a CMakeLists.txt file .
# Settings for building a dynamic library (.so/.dll)
OPTION(BUILD_DYNAMIC
Bill
I just noticed that one machine (maybe 2) are failing on pv3 nightly
dashboard with the same error I got
http://paraview.org/ParaView3/Testing/Sites/dash5.kitware/Linux-g++/20070406-0100-Nightly/BuildError.html
This may or may not be related, but if it is, then you have a place to
start
CMake's framework detection mechanism is now complete. Mike already
pointed out how to use FIND_LIBRARY which is all correct. There is a
nuance with include paths which I'll describe here.
You need to decide about your #include usage pattern. Generally, OS X
system frameworks are included as:
#in
Here is a code snippet from a CMakeLists.txt file that i use to
compile some Qt projects. Qt needs the Carbon framework, Quicktime
Framework and ApplicationServices.
IF(APPLE)
#SET(GUI_TYPE MACOSX_BUNDLE)
INCLUDE_DIRECTORIES ( /Developer/Headers/FlatCarbon )
FIND_LIBRARY(CARBON_LIBRARY Carbon
Hello-
I'm writing some software that I'm trying to keep as portable as
possible, but alas will need to use some apple-specific code to query
mouse position. Are there any good examples for the current best
way of doing this? i.e. should my source have #include header.h> or just #include
HI,
Have a look at flags.cmake in the build tree.
Actually look at Modules/Platform/Windows.cmake at the end of the file
there is some stuff you can uncomment to fix the problem.
you could try to change line 25 of this file
SET(CMAKE_END_TEMP_FILE "\n<<")
to
SET(CMAKE_END_TEMP_FILE "\
Hi,
you might be interested in this project
http://interix-wgcc.sourceforge.net/
regards,
Werner
Jesper Eskilson wrote:
What is the easiest way of using cl.exe with one of the GNU make based
generators? I've tried
cmake -G "MinGW Makefiles" -DCMAKE_C_COMPILER=cl.exe ...
but could never real
On 2007-04-05 14:59+0200 Klaas Gadeyne wrote:
Hi,
I'm trying to build a library. I have created 2 options, in order to
allow static or dynamic linking in a CMakeLists.txt file .
# Settings for building a dynamic library (.so/.dll)
OPTION(BUILD_DYNAMIC "Build EML as a dynamic library (Default
Hi,
I'm trying to build a library. I have created 2 options, in order to
allow static or dynamic linking in a CMakeLists.txt file .
# Settings for building a dynamic library (.so/.dll)
OPTION(BUILD_DYNAMIC "Build EML as a dynamic library (Default)." ON)
IF( BUILD_DYNAMIC)
ADD_LIBRARY(e
Jesper Eskilson wrote:
2007/4/4, Bill Hoffman <[EMAIL PROTECTED]>:
>
Actually look at Modules/Platform/Windows.cmake at the end of the file
there is some stuff you can uncomment to fix the problem.
I've tried to comment them out, but the makefiles generated still use
@<< ... << to place the c
Michael Hufer wrote:
We use cygwin, but that should be mostly the same:
-- cmd.exe (or in our case cygwin bash)
$ set CC=cl.exe
$ set CXX=cl.exe
$ cmakesetup
---
in cmake setup: select build mode Unix Makefiles
and build mode (Debug or Release)
configure and creat
On Sunday 04 March 2007 18:08:13 Trevor Kellaway wrote:
> Hi,
>
> I've been working on adding support for a TI DSP compiler to CMake.
> Initially I started off down the same route as the current UseEcos.cmake
> support, however this didn't really work out for a number of reasons,
> one main one bei
What is the easiest way of using cl.exe with one of the GNU make based
generators? I've tried
cmake -G "MinGW Makefiles" -DCMAKE_C_COMPILER=cl.exe ...
but could never really get it to work.
--
/Jesper
___
CMake mailing list
CMake@cmake.org
http://www.
We use cygwin, but that should be mostly the same:
-- cmd.exe (or in our case cygwin bash)
$ set CC=cl.exe
$ set CXX=cl.exe
$ cmakesetup
---
in cmake setup: select build mode Unix Makefiles
and build mode (Debug or Release)
configure and create makefile(s)
---
$ cd
2007/4/4, Bill Hoffman <[EMAIL PROTECTED]>:
Filipe Sousa wrote:
> Jesper Eskilson wrote:
>
>> Hi!
>>
>> Is there any way to get NMake Makefiles to show the exact compiler
>> options used? If I do
>>
>> nmake VERBOSE=yes
>>
>> I only see that cl is executed like this:
>>
>> [...]/cl.exe @commandfi
15 matches
Mail list logo