[CMake] Install a certain target

2008-01-28 Thread Salvatore Iovene
to cpack of install everything up to libB? Thanks. -- Salvatore Iovene http://www.iovene.com/ signature.asc Description: Digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Coverage without bullseye?

2007-12-19 Thread Salvatore Iovene
On Dec 18, 2007 4:09 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Salvatore Iovene wrote: Hi, from http://www.cmake.org/Wiki/CTest:Coverage I seem to understand that coverage can be analyzed in the dart dashboard only by purchasing Bullseye. Is that true? If not, how to submit coverage

[CMake] CHECK_CXX_COMPILER_FLAG(-fprofile-arcs HAVE_FPROFILE_ARCS_FLAG)

2007-12-19 Thread Salvatore Iovene
in the subject, HAVE_FPROFILE_ARCS_FLAG is OFF, even tho the compiler is supposed to have that flag. Thanks! -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8 ___ CMake mailing list CMake@cmake.org http

[CMake] Coverage without bullseye?

2007-12-18 Thread Salvatore Iovene
Hi, from http://www.cmake.org/Wiki/CTest:Coverage I seem to understand that coverage can be analyzed in the dart dashboard only by purchasing Bullseye. Is that true? If not, how to submit coverage analysis to the dashboard? Thanks! -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint

Re: [CMake] cross compiling

2007-11-29 Thread Salvatore Iovene
. -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8 ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] ADD_TEST and need of other files

2007-11-22 Thread Salvatore Iovene
! -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8 ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] ADD_TEST and need of other files

2007-11-22 Thread Salvatore Iovene
On Nov 22, 2007 5:40 PM, Alan W. Irwin [EMAIL PROTECTED] wrote: Second, if it is really necessary in this case, then you can CONFIGURE_FILE with the COPYONLY attribute at cmake time or execute Hi, that fit me very well, thanks! -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647

[CMake] $ENV{HOSTNAME}

2007-11-21 Thread Salvatore Iovene
-- Generating done -- Build files have been written to: /tmp/foo In spite of: [EMAIL PROTECTED]:/tmp/foo$ echo $HOSTNAME sd024 A bug? Thanks. -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8

Re: [CMake] $ENV{HOSTNAME}

2007-11-21 Thread Salvatore Iovene
On Nov 21, 2007 3:56 PM, Gonzalo Garramuño [EMAIL PROTECTED] wrote: Salvatore Iovene wrote: A bug? Thanks. Nope. $ echo $HOSTNAME aura1 $ sh -c echo \$HOSTNAME $ bash -c echo \$HOSTNAME aura1 Basically, HOSTNAME is a variable that is set by some shells like bash only, but cmake

Re: [CMake] $ENV{HOSTNAME}

2007-11-21 Thread Salvatore Iovene
On Nov 21, 2007 3:56 PM, Gonzalo Garramuño [EMAIL PROTECTED] wrote: Salvatore Iovene wrote: A bug? Thanks. Nope. $ echo $HOSTNAME aura1 $ sh -c echo \$HOSTNAME $ bash -c echo \$HOSTNAME aura1 Basically, HOSTNAME is a variable that is set by some shells like bash

Re: [CMake] $ENV{HOSTNAME}

2007-11-21 Thread Salvatore Iovene
On Nov 21, 2007 4:02 PM, Salvatore Iovene [EMAIL PROTECTED] wrote: On Nov 21, 2007 3:56 PM, Gonzalo Garramuño [EMAIL PROTECTED] wrote: Salvatore Iovene wrote: A bug? Thanks. Nope. $ echo $HOSTNAME aura1 $ sh -c echo \$HOSTNAME $ bash -c echo \$HOSTNAME

Re: [CMake] $ENV{HOSTNAME}

2007-11-21 Thread Salvatore Iovene
On Nov 21, 2007 5:14 PM, David Cole [EMAIL PROTECTED] wrote: The CMake SITE_NAME command does this in a shell / platform independent way... See output of cmake --help-command SITE_NAME That doesn't mention stripping whitespaces at all. -- Salvatore Iovene http://www.iovene.com/ Key

[CMake] Persistency of cmake options

2007-11-19 Thread Salvatore Iovene
! -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8 ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] setting configuration specific options in visual studio

2007-11-19 Thread Salvatore Iovene
. -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8 ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Persistency of cmake options

2007-11-19 Thread Salvatore Iovene
On Nov 19, 2007 7:12 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Monday 19 November 2007, Salvatore Iovene wrote: Hi, If I call cmake with, say, -DFOO:STRING=Bar, how can I do so that the value of FOO will be remembered the next time cmake is issued, without having to give

Re: [CMake] Win32: INSTALL command fails to package .dll, packages .lib

2007-11-16 Thread Salvatore Iovene
the following: INSTALL( TARGETS Test ARCHIVE DESTINATION lib LIBRARY DESTINATION lib RUNTIME DESTINATION bin ) -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8

Re: [CMake] Performing cross-platform build - how ?

2007-11-14 Thread Salvatore Iovene
On Nov 14, 2007 1:02 PM, Stephen Collyer [EMAIL PROTECTED] wrote: Presumably some switch makes it produce something suitable for nmake ? That would be -GNMake Makefiles. -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8

[CMake] Visual Studio 7.1 and ADD_DEPENDENCIES

2007-11-14 Thread Salvatore Iovene
libs are STATIC, will cause my_otherlib to be linked to my_lib even tho I didn't explicitly request so using the TARGET_LINK_LIBRARY command. Is this a bug or am I missing something? Thanks. -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20

Re: [CMake] library and executable with the same name

2007-11-14 Thread Salvatore Iovene
to accomplish this? Try changing the target name of the executable to foo_executable and then TARGET_SET_PROPERTY(foo_executable PROPERTIES OUTPUT_NAME foo) -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8

Re: [CMake] Visual Studio 7.1 and ADD_DEPENDENCIES

2007-11-14 Thread Salvatore Iovene
On Nov 14, 2007 5:44 PM, Brandon Van Every [EMAIL PROTECTED] wrote: On Nov 14, 2007 7:12 AM, Salvatore Iovene [EMAIL PROTECTED] wrote: Hi, when I use CMake 2.4.7 to generate NMake Makefiles everything builds fine, but if I generate Visual Studio 7.1 project files, and then open

Re: [CMake] Linking problem

2007-11-07 Thread Salvatore Iovene
On 11/7/07, Brandon Van Every [EMAIL PROTECTED] wrote: On Nov 7, 2007 2:12 AM, Salvatore Iovene [EMAIL PROTECTED] wrote: Hi, I'm not 100% sure this is really a CMake related question, but I'll fire it up anyway: I'm building a series of static libraries, name them liba.a, libb.a

Re: [CMake] Linking problem

2007-11-07 Thread Salvatore Iovene
On 11/7/07, Renaud Detry [EMAIL PROTECTED] wrote: On 07 Nov 2007, at 09:59, Salvatore Iovene wrote: On 11/7/07, Brandon Van Every [EMAIL PROTECTED] wrote: On Nov 7, 2007 2:12 AM, Salvatore Iovene [EMAIL PROTECTED] wrote: Hi, I'm not 100% sure this is really a CMake related question

Re: [CMake] Linking problem

2007-11-07 Thread Salvatore Iovene
On 11/7/07, Renaud Detry [EMAIL PROTECTED] wrote: On 07 Nov 2007, at 11:04, Salvatore Iovene wrote: On 11/7/07, Renaud Detry [EMAIL PROTECTED] wrote: On 07 Nov 2007, at 09:59, Salvatore Iovene wrote: On 11/7/07, Brandon Van Every [EMAIL PROTECTED] wrote: On Nov 7, 2007 2:12 AM

Re: [CMake] Linking problem

2007-11-07 Thread Salvatore Iovene
On 11/7/07, Renaud Detry [EMAIL PROTECTED] wrote: On 07 Nov 2007, at 11:35, Salvatore Iovene wrote: On 11/7/07, Renaud Detry [EMAIL PROTECTED] wrote: On 07 Nov 2007, at 11:04, Salvatore Iovene wrote: On 11/7/07, Renaud Detry [EMAIL PROTECTED] wrote: On 07 Nov 2007, at 09:59

Re: [CMake] Linking problem

2007-11-07 Thread Salvatore Iovene
On 11/7/07, Hendrik Sattler [EMAIL PROTECTED] wrote: Quoting Salvatore Iovene [EMAIL PROTECTED]: On 11/7/07, Salvatore Iovene [EMAIL PROTECTED] wrote: What do you mean by PIC? Thanks! Oh, -fPIC. I figured it out. Seems to work fine on Linux. I still have to try it on Windows tho. I

Re: [CMake] Linking problem

2007-11-07 Thread Salvatore Iovene
On 11/7/07, Salvatore Iovene [EMAIL PROTECTED] wrote: What do you mean by PIC? Thanks! Oh, -fPIC. I figured it out. Seems to work fine on Linux. I still have to try it on Windows tho. I hope it's good as a solution and not just a hack! :) -- Salvatore Iovene http://www.iovene.com/ Key

[CMake] -pipe, -g and -fPIC on WIN32

2007-11-07 Thread Salvatore Iovene
, I get that the check for the flag succedes, but then the compiler options are actually -pipe -g -fPIC and the compiler issues a warning about ignoring those unknown options. What is the right way of doing this? Thanks! -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD

Re: [CMake] Conditional dependency

2007-11-06 Thread Salvatore Iovene
) As there are hundreds of file, I want to avoid duplicating and add to maintainence. Try this: IF(NOT WIN32) SET(b_SOUCE b.cpp) ENDIF(NOT WIN32) ADD_LIBRARY ( myLib STATIC a.cpp ${b_SOURCE} c.cpp etc ) If you're not on WIN32, then the variable ${b_SOURCE} will be empty. -- Salvatore Iovene http

[CMake] Linking problem

2007-11-06 Thread Salvatore Iovene
libx.a) to libbar.so. But this smells of nasy workaround. Obviously I'm doing something wrong here, so could anyone please help? Thanks! -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647 944D D5AD 2E87 00B4 7D54 2864 359D FF20 16D8

Re: [CMake] Symbian support

2007-11-05 Thread Salvatore Iovene
are the naming conventions for object files, static libs, shared libs, executables on Symbian ? objfilename.o, staticlibname.lib, dllname.dll, executable.exe Are shared libs supported ? yes, in the form of dlls. Any thoughts? Thanks. -- Salvatore Iovene http://www.iovene.com/ Key Fingerprint: 5647

[CMake] INCLUDE_DIRECTORIES oddity

2007-03-24 Thread Salvatore Iovene
doing something obviously wrong? My cmake version is 2.4-patch 5. Thank you. -- Salvatore Iovene http://www.iovene.com signature.asc Description: PGP signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] INCLUDE_DIRECTORIES oddity

2007-03-24 Thread Salvatore Iovene
On Sat, 24 Mar 2007 07:56:21 -0700 Brandon J. Van Every [EMAIL PROTECTED] wrote: Salvatore Iovene wrote: Am I doing something obviously wrong? Using an older version of CMake when making a bug report? :-) I'm not filing a bug report, as nowhere I alleged this would be a cmake bug