How do I do to add a definition for just one of the executables in a CMakeLists.txt-file andonly for one of its configs?I want to define DEBUG for foo.exe but not for bar.exe, and I want DEBUG only to be set for
the Debug configuration of that executable.I use Visual Studio 2005 and my CMakeLists.t
Dear all,
I am writting cmake file to build library libVisionComponents that
includes sources from subdirectories (each subdir is different
component). In the main cmake file, sources and headers are listed as
ComponentName/File.cpp. The library is compiled successfully, but when
I install it wit
Hello,
I recently submitted the request to add a module for the Compaq Visual
Fortran
compiler (#3950). I can now confirm that this module works not only for
a small
standalone Fortran program, but it also works for the PLplot project
where I
can build shared libraries (DLLs if you will) that
Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
Hi,
On Windows side, I built a zlib library and created
a zlibConfig.cmake to go with it. The zlibConfig.cmake
contains the zlib_DEFINITIONS, zlib_LIBRARIES, zlib_INCLUDE_DIRS
so I don't have to worry
Now, in another project
Now, in another project that uses zlib, FIND_PACKAGE(zlib)
uses Findzlib.cmake that comes with CMake. How can
I force it to use my zlibConfig.cmake instead?
SET CMAKE_MODULE_PATH. That variable is documented in
http://www.cmake.org/HTML/Documentation.html and also
http://www.cmake.org/Wiki/CMak
Hi,
On Windows side, I built a zlib library and created
a zlibConfig.cmake to go with it. The zlibConfig.cmake
contains the zlib_DEFINITIONS, zlib_LIBRARIES, zlib_INCLUDE_DIRS
so I don't have to worry
Now, in another project that uses zlib, FIND_PACKAGE(zlib)
uses Findzlib.cmake t
Done. Bug #3980.On 10/25/06, Brad King <[EMAIL PROTECTED]> wrote:
Doug Henry wrote:> Looks like I may have missed a couple options (-R and -KPIC). As far as> I can tell, the compiler should work exactly like the already supported> SunOS version of the compiler. Just copy the options from the alr
Since no one has used thiscompiler before I don't mind including the option until someone
complains their version doesn't have it.I would think the same options would apply to SunOS.cmake.
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailm
The sun compilers also have aliases: suncc, sunCC, sunf95, etc. Maybe those names should be used instead? I assume this is as easy as making a Linux-sunCC.cmake file.On 10/25/06,
Brad King <[EMAIL PROTECTED]> wrote:
Doug Henry wrote:> Before I commit anything, I would like to verify how cmake is
Doug Henry wrote:
> Before I commit anything, I would like to verify how cmake is doing its
> compiler detection. Is everything simply based on name? I can have cc
> in my path which is gcc, or I can set my path in a way that has cc from
> sun studio. Is cmake capable of telling the difference?
Before I commit anything, I would like to verify how cmake is doing its compiler detection. Is everything simply based on name? I can have cc in my path which is gcc, or I can set my path in a way that has cc from sun studio. Is cmake capable of telling the difference? I have a problem where I
Warren,
I checked and no environment variables with HTTP in them are defined in
the bash shell.
-Todd
On Wed, 2006-10-25 at 10:32 -0600, Warren Turkal wrote:
> On Wednesday 25 October 2006 07:53, Todd Pitts wrote:
> > I did try using the fully qualified name - It still
> > tries to con
On Wednesday 25 October 2006 07:53, Todd Pitts wrote:
> I did try using the fully qualified name - It still
> tries to contact the proxy server (not sure why - /etc/host.conf is
> order hosts,bind) and then says access denied.
Are any of the environment variables controlling proxy usage defined,
Doug Henry wrote:
> I noticed that the default options for build mode may be a bit strange
> for sun compilers. The release mode uses -xO2 and the minimum size mode
> uses -xO3 (higher optimization level?). There seems to be an option
> -xspace which reads:
>
> -xspace Do not do op
Doug Henry wrote:
> Looks like I may have missed a couple options (-R and -KPIC). As far as
> I can tell, the compiler should work exactly like the already supported
> SunOS version of the compiler. Just copy the options from the already
> included SunOS.cmake file, which are almost the same as t
Thanks Brad.
Ouch... as this was one of these obvious errors anybody else but yourself
sees immediately ;-).
Thanks again,
Micha.
> Michael Hufer wrote:
> > ---
> > [...]
> > if( DEFINED ${EXT_LINK_FLAGS} )
> > message( "module ${EXT}: adding the linker flags '${EXT_LINK_FLAGS}'"
Michael Hufer wrote:
> ---
> [...]
> if( DEFINED ${EXT_LINK_FLAGS} )
> message( "module ${EXT}: adding the linker flags '${EXT_LINK_FLAGS}'" )
> set_target_properties( ${MODULE} PROPERTIES LINK_FLAGS
> "${EXT_LINK_FLAGS}" )
> endif( DEFINED ${EXT_LINK_FLAGS} )
> [...]
> ---
> which is
David,
I understand. I did try using the fully qualified name - It still
tries to contact the proxy server (not sure why - /etc/host.conf is
order hosts,bind) and then says access denied. However, I can telnet to
the port and DartClient.jar can talk. Also, I can monitor the port
activit
Hi Brad,
thanks for your quick reply.
Are you sure it actually worked? There should be three messages showing the
'java' link flags in the cmake output. Here is what I get:
---
[EMAIL PROTECTED]:[xgen-3.5.0]> cd build/Linux
[EMAIL PROTECTED]:[Linux]> cmake ../..
-- Check for working C compiler:
Using localhost is not a realistic long term scenario that can be
shared by multiple users anyhow... Does this work if you try
submitting by real name or IP instead of using "localhost"? Does it
work if you submit from another machine?
I agree that it should work, but I'm not really surprised it
David,
I tried telnetting to localhost at 8081 and got a connection without
difficulty:
telnet localhost 8081
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
-Todd
> wrote:Have you tried using "http" as the method instead?
>
> On 10/25/06, Todd Pi
Michael Hufer wrote:
> Hi all,
> I am new to CMake and am currently switching the make system for our X-Gen
> product to CMake.
> Since the project contains a lot of shared libraries I wrote a macro to ease
> the writing of CMakeLists.txt for them. The macro receives a list of
> "external" libra
David,
Thank you for responding so quickly. I tried http and got an error
saying it could not resolve the hostname "http". I looked in the output
logs and found the address http://http//localhost:8081 so I changed the
drop location from http://localhost:8081 to localhost:8081. Not it
si
Have you tried using "http" as the method instead?
On 10/25/06, Todd Pitts <[EMAIL PROTECTED]> wrote:
All,
I have not yet been able to get CTest to communicate with the dart2
server. DartClient.jar does just fine. DartServer.jar gives no
indication in its logs that anything has even tried
All,
I have not yet been able to get CTest to communicate with the dart2
server. DartClient.jar does just fine. DartServer.jar gives no
indication in its logs that anything has even tried to contact it.
CTest returns http 403 error without any further explanation. The host
(localhost) and po
25 matches
Mail list logo