Re: [CMake] CMakeModules repository at GitHub?

2013-03-30 Thread Luigi Calori
sit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Luigi C

Re: [CMake] External dependencies and Windows

2013-02-04 Thread Luigi Calori
ake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it

Re: [CMake] Why does ExternalProject require root access?

2013-01-21 Thread Luigi Calori
e_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it -- Po

Re: [CMake] ExternalProject_Add examples

2012-03-17 Thread Luigi Calori
scribe: http://www.cmake.org/mailman/listinfo/cmake -- Luigi Calori SuperComputing Applications and Innovation Department CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY Tel: +39 051 6171509 Fax: +39 051 6132198 hpc.cineca.it -- Powered by www.kitware.com Visi

Re: [CMake] Environment variables and ExternalProject

2011-10-17 Thread Luigi Calori
ce projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Luigi Calori SuperComputing Applications and

Re: [CMake] ExternalProject_Add without download of local sources?

2011-09-15 Thread Luigi Calori
-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Luigi Calori SuperComputing Applications

Re: [CMake] ExternalProject + Patch command

2011-03-16 Thread Luigi Calori
On 16/03/2011 17.37, David Cole wrote: It would be nice (as a future feature addition) to be able to support sharing the download/update/patch/source_dir aspects of an ExternalProject target among multiple configurations and avoid the multiple runs of these things that are exactly the same indepe

Re: [CMake] Help on ExternalProject_Add

2011-02-16 Thread Luigi Calori
rance or really variables have no type defined? Thanks again Luigi On 10/02/2011 8.39, Jean-Christophe Fillion-Robin wrote: Hi Luigi, You will find some comments below ... Jc On Wed, Feb 9, 2011 at 9:07 AM, Luigi Calori <mailto:l.cal...@cineca.it>> wrote: Hi everybody, I' m

[CMake] Help on ExternalProject_Add

2011-02-09 Thread Luigi Calori
Hi everybody, I' m trying to use ExternalProject to wrap serveral building recipies for different packages I have to use: I am taking the habit of using it as a replacement of shell scripts or manual session for building from source. In my usage I found some problems, possibly due to my ignoranc

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-11-07 Thread Luigi Calori
On 07/11/2010 21.01, Philip Lowman wrote: On Fri, Nov 5, 2010 at 12:08 PM, Luigi Calori <mailto:l.cal...@cineca.it>> wrote: +1 for FindBoost support to "CMakeified" version of Boost at "http://gitorious.org/~denisarnaud/boost/denisarnauds-zeuners-bo

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-11-05 Thread Luigi Calori
On 04/11/2010 21.48, Kalev Lember wrote: Hi, I would love to have support for CFBundle (.plugin) on Mac. http://www.vtk.org/Bug/view.php?id=11295 Me too, +1 for this bug also, for using the same project (FireBreath) +1 for FindBoost support to "CMakeified" version of Boost at "http://gito

Re: [CMake] CMAKE_LIBRARY_PATH appears not to work properly for finding libtcl

2010-05-17 Thread Luigi Calori
Bill Hoffman wrote: OK, your right, it does prefer names that show up first in the name list even if they are later in the total path. I think I have got the same problem (bug) as had FindFreetype always getting system lib even if I a custom version was present in a folder lib under a path speci

Re: [CMake] ExternalProjects: How do ExternalProject_add and ExternalProject_Add_Step interact?

2010-04-23 Thread Luigi Calori
There is some info at http://www.kitware.com/products/archive/kitware_quarterly1009.pdf based on that I thought it was enouth do depend upon just the install in your case... I am collecting external projects for several libs, It seem you are building at least VTK and Tcl and Tk that I lack..

Re: [CMake] Problems with ExternalProject_Add and tar.gz files

2010-04-02 Thread Luigi Calori
I got exactly the same error in doing something similar: it is the untar phase based on cmake that seem to fail on some kind of tar: in the untar phase, externalProject uses cmake -E tar xvf and this is the part that fail. if I issue the command: >cmake -E tar xzf boost-1.41.0.cmake0.tar.gz or u

Re: [CMake] cmake -E tar using bzip2 compression

2010-03-18 Thread Luigi Calori
Hugh Sorby wrote: I have been hanging out for 2.8.1 because I needed this feature to provide seamless integration with our current build system. On testing yesterday no dice I couldn't decompress a bzip2 archive. I even looked through the source code but couldn't find it. It would be nice to

Re: [CMake] How to build and link Externa Project with exported target

2010-03-17 Thread Luigi Calori
[...] He's not downloading with CMake, he just told git that in this directory is a submodule. The user has then to fetch it himself with one command: http://git.wiki.kernel.org/index.php/GitSubmoduleTutorial Sorry ... no git expert at all my point was just to hack ExternalProject_add

Re: [CMake] How to build and link Externa Project with exported target

2010-03-17 Thread Luigi Calori
Hi Michael and Nicola, I'm in a similar situation as I' m trying to build up a cmake based dependency builder for OpenSceneGraph based projects: So I' m really interested in any "best practice" advice Michael Wild wrote: On 17. Mar, 2010, at 13:17 , Nicola Brisotto wrote: Hi! I'm building

Re: [CMake] How to integrate autoconf based library into my cmake build tree

2010-03-01 Thread Luigi Calori
ar 1, 2010 at 3:35 AM, Luigi Calori <mailto:l.cal...@cineca.it>> wrote: Michael Wild wrote: On 1. Mar, 2010, at 4:10 , Albert Z wrote: I just found that unless I explicitly include ExternalProject.cmak in my cmake build, cmake

Re: [CMake] How to integrate autoconf based library into my cmake build tree

2010-03-01 Thread Luigi Calori
and mac and got the same error. And I am sure the version of the cmake is 2.8 Best, Meng On Sun, Feb 28, 2010 at 4:50 AM, Luigi Calori wrote: Albert Z wrote: Hello, Our project now uses a bunch of 3rd party libraries such as apr, protobuf, libcurl, etc. Almost all of these libr

Re: [CMake] How to integrate autoconf based library into my cmake build tree

2010-02-28 Thread Luigi Calori
Albert Z wrote: Hello, Our project now uses a bunch of 3rd party libraries such as apr, protobuf, libcurl, etc. Almost all of these libraries use autoconf (configure.in ) based build system. Since we have some modifications to most of the libraries, we have to integrate

Re: [CMake] overriding CMAKE_MODULE_PATH list

2010-02-21 Thread Luigi Calori
Alexander Neundorf wrote: On Friday 19 February 2010, Luigi Calori wrote: I would like to have some clarification about module and include effective search order: I am in the following situation: I use (configure) a project that is overriding some CMake standard Find modules by doing in

[CMake] overriding CMAKE_MODULE_PATH list

2010-02-19 Thread Luigi Calori
I would like to have some clarification about module and include effective search order: I am in the following situation: I use (configure) a project that is overriding some CMake standard Find modules by doing in his main CMakeLists.txt file: SET(CMAKE_MODULE_PATH ";${CMAKE_MODULE_PATH}")

Re: [CMake] How to avoid continuous download while using ExternalProjects

2010-02-11 Thread Luigi Calori
Hi Philip Philip Lowman wrote: On Wed, Feb 10, 2010 at 11:37 AM, David Cole wrote: If anybody has other ideas to share downloads between "Release" and "Debug" configurations, or other ways to avoid "unnecessary" downloads better, or other ideas for any ExternalProject improvement, I'm all e

Re: [CMake] How to avoid continuous download while using ExternalProjects

2010-02-10 Thread Luigi Calori
. if multiple url are specified, repeat download step on failure? HTH, David On Wed, Feb 10, 2010 at 10:40 AM, Michael Wild <mailto:them...@gmail.com>> wrote: On 10. Feb, 2010, at 15:37 , Luigi Calori wrote: > > Hi Michael: > > They are more or less somet

Re: [CMake] How to avoid continuous download while using ExternalProjects

2010-02-10 Thread Luigi Calori
p file are config dependent) Thanks in advance. Luigi Michael Wild wrote: On 10. Feb, 2010, at 14:57 , Luigi Calori wrote: I' m trying to develop a project for building several lib dependencies using ExternalProjectAdd Is there a way to avoid re-download of upstream tar.gz while de

[CMake] How to avoid continuous download while using ExternalProjects

2010-02-10 Thread Luigi Calori
I' m trying to develop a project for building several lib dependencies using ExternalProjectAdd Is there a way to avoid re-download of upstream tar.gz while developing config flags? ANY examples of ExternalProjectAdd would REALLY welcome Thanks in advance. Luigi __

Re: [CMake] How to findXXX libraries with debug suffix

2010-02-09 Thread Luigi Calori
I have not asked the CMake devs to use this FindExpat because of all the specializations I have made. Most of the code is taken directly from the FindQt4.cmake file. _ Mike Jackson mike.jack...@bluequartz.net On Tue, Feb 9, 2

Re: [CMake] How to findXXX libraries with debug suffix

2010-02-09 Thread Luigi Calori
### ENDIF (EXPAT_FOUND) --8<-------- _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software

[CMake] How to findXXX libraries with debug suffix

2010-02-09 Thread Luigi Calori
Is there a way to instruct FindXXX modules to produce variables that have different linking in debug and release? I am producind a lib with suffix D (zlib) in an ExternalProjetAdd, target.It gets installed correctly in debug (which is the default for VS cmake--build) This zlibD.lib does not g

Re: [CMake] Hint on usage of ExternalProject_Add

2010-02-08 Thread Luigi Calori
Luigi Calori wrote: Getting no feedback, try to be shorter Is possible with ExternalProject skip download+patch if only configure or build fails? I'm working with 2.8.0,MSVC9 I tried without success: the target does not try to rebuild if I change CMAKE_ARGS Is it intended? Is 2.8.

[CMake] Hint on usage of ExternalProject_Add

2010-02-05 Thread Luigi Calori
Hi everybody, first sorry for the long intro, I' m trying to build up a project that assembles different components, all open source and portable. The main component is OpenSceneGraph that heavily relies on FindXXX to do configure time inspection and conditionally build plug ins. I am trying

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Luigi Calori
Bill Hoffman wrote: I am happy to announce that CMake 2.8.0 has entered the beta stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/. - - New External Project Module. The 'ExternalProject_Add' function creates a custom target to drive download, update/patc

Re: [CMake] Set output path without additional Debug/Release at the end

2009-04-24 Thread Luigi Calori
I use a hack like this: SET_TARGET_PROPERTIES( PROPERTIES RUNTIME_OUTPUT_DIRECTORY ) SET_TARGET_PROPERTIES( PROPERTIES LIBRARY_OUTPUT_DIRECTORY ) IF(MSVC_IDE) SET_TARGET_PROPERTIES( PROPERTIES PREFIX "../") or if you prefer SET_TARGET_PROPERTIES( PROPERTIES

Re: [CMake] open source project for CMake ports?

2009-02-17 Thread Luigi Calori
Bill Hoffman ha scritto: Philip Lowman wrote: For the first cut I think starting out with keeping the CMakified sources in the project would be fine. Many people are never going to want anything more complicated than this and we know that this will at least work for now. CMake can alread

Re: [CMake] open source project for CMake ports?

2009-02-16 Thread Luigi Calori
Alexander Neundorf ha scritto: On Monday 16 February 2009, Philip Lowman wrote: Hi, Luigi suggested a kind of CMake ports system in a recent thread here on the CMake mailing list. This would presumably be a system whereby popular 3rd party dependencies which have not yet CMakeified their so

Re: [CMake] MSVC7.1 static link question

2009-02-13 Thread Luigi Calori
Philip Lowman ha scritto: On Thu, Feb 12, 2009 at 11:43 AM, Luigi Calori <mailto:l.cal...@cineca.it>> wrote: Philip Lowman ha scritto: add_library(baz STATIC IMPORTED) set_target_properties(baz PROPERTIES IMPORTED_LOCATIO

Re: [CMake] MSVC7.1 static link question

2009-02-12 Thread Luigi Calori
Bill Hoffman ha scritto: Luigi Calori wrote: I' ma bit confused, just to make clear: the proposed import method are used in the final projects that USES the libraries. by install(EXPORT) the needed code is hidden in a config--baz--cmake file that is evaluated inby the final project t

Re: [CMake] MSVC7.1 static link question

2009-02-12 Thread Luigi Calori
Philip Lowman ha scritto: On Wed, Feb 11, 2009 at 8:54 AM, Brad King > wrote: Philip Lowman wrote: On Tue, Feb 10, 2009 at 1:01 PM, Brad King mailto:brad.k...@kitware.com>CMake 2.6 makes it easy to export targets from one project (ei

Re: [CMake] MSVC7.1 static link question

2009-02-10 Thread Luigi Calori
Bill Hoffman ha scritto: Philip Lowman wrote: On Mon, Feb 9, 2009 at 12:39 PM, Luigi Calori <mailto:l.cal...@cineca.it>> wrote: I' m quite a newbie in static linking, I would like to combine two lib into one: say libtiff needs libjpeg and zlib If you generate t

[CMake] MSVC7.1 static link question

2009-02-09 Thread Luigi Calori
S, that is perfecly working for exe and SHARED linkage but no success: the vs project has always the Additional Dependencies field empty. Am I completely missing something? Thanks in advance Luigi Calori ___ Powered by www.kitware.

Re: [CMake] OpenSceneGraph Find Modules

2008-01-04 Thread Luigi Calori
Hi Eric and Miguel, It would be good to have the OSG-related modules inside CMake, both modules for finding OSG dependencies as well as finding OSG itself when needed by other projects. I agree with all the suggestion of Miguel, expecially the idea of using OpenSceneGraph_DIR and OpenSceneGraphCo

Re: [CMake] How to place .dll and .lib in different places?

2007-08-27 Thread Luigi Calori
Alexander Neundorf wrote: On Monday 27 August 2007 09:00, Luigi Calori wrote: Alexander Neundorf wrote: On Monday 27 August 2007 06:08, Luigi Calori wrote: I have the problem of placing, at build time .lib in one folder (lib) and .dll in another (bin) One solution is to add

Is .. supported as PROPERTIES PREFIX ? Was: Re: [CMake] How to get rid of Debug / Release VisualStudio folders?

2007-08-27 Thread Luigi Calori
(${TargetName} PROPERTIES PREFIX "../../bin/lib") Is this a not supported hack or is something one can count on? Thanks in advance Luigi Luigi Calori wrote: Probably dumb question, but was not able to found hints on docs: Visual Studio projects generated do append Debug / Rele

[CMake] How to place .dll and .lib in different places?

2007-08-27 Thread Luigi Calori
I have the problem of placing, at build time .lib in one folder (lib) and .dll in another (bin) One solution is to add POST_BUILD copy commands, but i would prefer not. I have also been suggested to use SET_TARGET_PROPERTIES ... PROPERTIES PREFIX being lib and bin sibling, this hack seem to work

[CMake] How to get rid of Debug / Release VisualStudio folders?

2007-08-22 Thread Luigi Calori
Probably dumb question, but was not able to found hints on docs: Visual Studio projects generated do append Debug / Release to the EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH paths. Is there a way to avoid this and force them to generate straight inside EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTP

Re: [CMake] getting values from subdirs

2007-03-15 Thread Luigi Calori
that the init code in the main get galled before each subdir (this is a known issue) I was searching for a workaround... Ken Martin PhD Kitware Inc. 28 Corporate Drive Clifton Park NY 12065 518 371 3971 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behal

[CMake] getting values from subdirs

2007-03-15 Thread Luigi Calori
I would like to being able to collect a list of values from a macro that get called from several subdirs The obvious solutions to init it into the main CMakeLists and update whithin the macro does not work as (probably) the init inside the main CmakeLists get executed anyway for each subdir If

Re: [CMake] How to detect 32/64 architecture

2007-03-09 Thread Luigi Calori
Thanks a lot, it worked. Just for knowing... what is ow_check_cxx_compiler_flag is it a command or one of your macro? does it test the existance of one compiler flag? Thanks again Luigi Andreas Schneider wrote: Luigi Calori wrote: Is there a macro or variable to detect 32/64

[CMake] How to detect 32/64 architecture

2007-03-09 Thread Luigi Calori
Is there a macro or variable to detect 32/64 architecture under Linux (possibly also under windows) In order to mimic pre-existent builds we have been asked to install on lib64 if on a 64 architecture and lib or luib32 if appropriate Thanks a lot ___

Re: [CMake] Suggestion for CMake platform/compiler detection

2006-11-23 Thread Luigi Calori
Tanguy Krotoff wrote: Brandon J. Van Every wrote: Sure. But OpenWengo isn't a patch. I'm sure everyone will be very happy if you submit *small* patches, bug reports, and feature requests in the bug tracker for *CMake*. Nobody wants the entireity of CMake to be rewritten in a higher level

Re: RIF: [CMake] kdevelop problems

2006-11-02 Thread Luigi Calori
Bill Hoffman wrote: Luigi Calori wrote: I' ve used CVS CMake but it seems not to solve the problem. In order to check, I' ve modified the layout project so to put c++ and header files in a directory under the folder where the main CMakeLists.txt resides. doing that, the Kdevelo

Re: RIF: [CMake] kdevelop problems

2006-10-31 Thread Luigi Calori
originale- Da: [EMAIL PROTECTED] per conto di Luigi Calori Inviato:lun 30/10/2006 18.09 A: CMake Mailing List Cc: Oggetto:[CMake] kdevelop problems I' m new to kdevelop and starting to use CMake for it. I' ve a project that builds correctly with make but has

[CMake] kdevelop problems

2006-10-30 Thread Luigi Calori
I' m new to kdevelop and starting to use CMake for it. I' ve a project that builds correctly with make but has source files that resides on external directory (outside from CMAKE_SOURCE_DIR) The generated kdevelop projects seems empty from source files (it shows only CMakelists.txt inside CMA

Re: [CMake] Telling CMake to use zlibConfig.cmake instead of the Findzlib.cmake

2006-10-25 Thread Luigi Calori
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

[CMake] example of ctest --build-and-test

2006-10-16 Thread Luigi Calori
I have the following problem: a master cmake project that wants to configure and build a series of slave cmake projects I' ve tried several hacking but not found an elegant solution. I' ve read from the list that the ctest --build-and-test could be used for that but did not found any example:

[CMake] MSYS generator

2006-09-22 Thread Luigi Calori
I' m trying to use CMake to compile OpenSceneGraph: at present I' m testing the MSYS generator: some questions: 1) I see that the file CMakeMSYSFindMake.cmake is rensponsible of finding the msys make: is it possible to specify the location inside the project? I would like to let user install MSY

[CMake] CUSTOM COMMANDS with no depends under VS 2003

2006-09-01 Thread Luigi Calori
After several test and trials, I ve the suspect that if one use ADD_CUSTOM_COMMANDS without DEPENDS, then the generator ->Visual Studio 7 .NET 2003<-, is not running the command at build but requires a rebuild. Am I completely wrong or is a known issue? I' m trying to write macros to checkout p

[CMake] Getting file and line in message

2006-08-29 Thread Luigi Calori
A newbie question: Is there a way to get into a message line which file the message line is in and which line number? thanks in advance Luigi ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cma

Re: [CMake] Re: OpenSceneGraph and CMake

2006-08-22 Thread Luigi Calori
I' ve done some work on CMake and OSG: the approach for OpenThreads and Producer has been to build them in the same build for OSG settin output dll in the same dir, WITHOUT installation. I configure also .bat or .sh script to set up the environment on the fly , for example to run examples, mimi

[CMake] DevCpp

2006-07-27 Thread Luigi Calori
Is DevCpp supported by CMake? in case, are available hints on how to setup a proper environment? Thanks in advance. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] VisualStudio debug command

2006-03-29 Thread Luigi Calori
[EMAIL PROTECTED] wrote: Hi Luigi, I believe debugging info is held in a binary file - *.suo for vc7 - so would be tricky to set using cmake without using the vcproject automation engine. Ian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luigi

[CMake] VisualStudio debug command

2006-03-28 Thread Luigi Calori
Probably newby question: Under Visual Studio, at least from VS 7, a project can have debugging command and command arguments. Is it possible to set them in a CMakeFile ? Thanks a lot Luigi ___ CMake mailing list CMake@cmake.org