Re: [CMake] CPack DEB Packaging: Automate dependency resolution

2008-11-05 Thread Eric Noulard
2008/11/5 Mathieu Malaterre [EMAIL PROTECTED]: On Tue, Nov 4, 2008 at 8:16 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Tuesday 04 November 2008, Mathieu Malaterre wrote: You really should be using Debian utilities. Not unless you are on a debian machine. Technically nothing should

Re: [CMake] Cannot recompile CMake CVS from scratch?

2008-11-05 Thread Eric Noulard
2008/11/5 Eric Noulard [EMAIL PROTECTED]: I recently re-organised my CMake build trees and now I get the following error: uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.8b) What should I do in order to fix it? Forget about that I did have mixed-up qt3/qt4 install

Re: [CMake] seperate source/build directories (Was: cleaning targets)

2008-11-06 Thread Eric Noulard
2008/11/6 Michael Jackson [EMAIL PROTECTED]: On Nov 6, 2008, at 3:02 PM, Eric (Brad) Lemings wrote: Michael Jackson wrote: Are you using a dedicated build directory or are you running cmake directly from your source directory? If the latter.. STOP.. don't do that. If you use a dedicated

Re: [CMake] seperate source/build directories (Was: cleaning targets)

2008-11-06 Thread Eric NOULARD
Le Thu, 06 Nov 2008 14:15:21 -0700, Eric (Brad) Lemings [EMAIL PROTECTED] a écrit : Eric Noulard wrote: 2008/11/6 Michael Jackson [EMAIL PROTECTED]: All this is asking is 2 extra commands. You may perfectly do that with autotools too: mkdir build cd build /path

Re: [CMake] Eclipse CDT and CMake

2008-11-06 Thread Eric Noulard
2008/11/7 Michael Jackson [EMAIL PROTECTED]: On Nov 6, 2008, at 7:26 PM, Neal Meyer wrote: I'm on a Mac and I was wondering if there are any plans to support full CDT projects from CMake? -Neal I thought there was a CDT generator as part of CMake? Yes there is:

Re: [CMake] What does `cross-platform' mean?

2008-11-07 Thread Eric Noulard
2008/11/7 Jed Brown [EMAIL PROTECTED]: I find that CMake works well when there is only one version of installed software, and shared libraries are used. When there are multiple ABI-incompatible versions of libraries or no shared libraries, many modules are broken. They will systematically

Re: [CMake] What does `cross-platform' mean?

2008-11-07 Thread Eric Noulard
2008/11/7 Jed Brown [EMAIL PROTECTED]: My current opinion is the multiple version issue should be handle by a CRAY module-like tool and not by CMake itself. If the underlying tool is efficient then CMake FIND module should find the appropriate version. Thank you Eric, this greatly clarifies

Re: [CMake] What does `cross-platform' mean?

2008-11-07 Thread Eric Noulard
2008/11/7 Jed Brown [EMAIL PROTECTED]: If the underlying tool is efficient then CMake FIND module should find the appropriate version. Thank you Eric, this greatly clarifies some design decisions. May I interpret this to mean that CMake does not intend to be concerned with finding the

Re: [CMake] What does `cross-platform' mean?

2008-11-09 Thread Eric NOULARD
Le Sun, 09 Nov 2008 17:55:12 -0500, Bill Hoffman [EMAIL PROTECTED] a écrit : 2. CMake needs a way to easily chain variables together so that you can clear stuff out if a dependent variable is changed by the user. So, if you have MY_PATH_TO_TOOL=/path/to/tool, and it changes to

Re: [CMake] Avoid nested cmake invocation taking parent's info.

2008-11-09 Thread Eric NOULARD
Le Sun, 09 Nov 2008 22:24:45 +0100, Óscar Fuentes [EMAIL PROTECTED] a écrit : While cross-compiling, I'm trying to avoid depending on previously built executables, that is, the cross-compile build should create the native utilities it needs. For this, I'm trying execute_process( COMMAND

Re: [CMake] How to disable cmake_clean_target.cmake script from executing.

2008-11-10 Thread Eric NOULARD
Le Mon, 10 Nov 2008 16:22:48 +0900, 이명현 [EMAIL PROTECTED] a écrit : Hi, I am working in a system where a static library(archive) is build with source files that are distributed among several directories. CMakeLists.txt src / CMakeLists.txt *.cpp files src1/ CMakeLists.txt *.cpp

Re: [CMake] my FindDevIL.cmake module

2008-11-10 Thread Eric Noulard
2008/11/10 Miguel A. Figueroa-Villanueva [EMAIL PROTECTED]: Thanks for the valuable input. I've slimmed down my file a bit and used the find_package_handle_standard_arg macro. It's attached to this message. Again feel free to include it in cmake or give more input on it. (or not, it's working

Re: [CMake] file-glob question

2008-11-10 Thread Eric NOULARD
Le Mon, 10 Nov 2008 12:36:04 +0100, Steven Van Ingelgem [EMAIL PROTECTED] a écrit : Hi all, I'm trying to do the following: file(GLOB PLUGINS plugins/*) This returns all the absolute paths to the plugins. Which is fine. But, when I try: file(GLOB PLUGINS RELATIVE plugins/*)

Re: [CMake] package_source target?

2008-11-10 Thread Eric Noulard
2008/11/7 Alin M Elena [EMAIL PROTECTED]: Hi, Sorry for the quoting thing. the cvs one. It seems that neither CVS HEAD nor CVS CMake-2-6 generates the package_source target any more... whereas CMake-2-6-2 do generates the package_source... I'll wait the next RC before filing a bug :-) --

Re: [CMake] making Nightly builds easier to setup

2008-11-09 Thread Eric Noulard
2008/11/9 Alexander Neundorf [EMAIL PROTECTED]: [...] commands can be executed. IMO this can make setting up Nightly builds much easier. Looks interesting, I didn't ever thought ctest scripting was done for that. I did shell scripts for that and was wondering how to do it on Windows :-) Now

Re: [CMake] IMPORTANT!! SET CACHE FORCE not wortking with UNINITIALIZED variables

2008-11-11 Thread Eric NOULARD
Le Tue, 11 Nov 2008 11:47:20 -0200, Fernando Cacciola [EMAIL PROTECTED] a écrit : Hi, Since my last post about this got unnoticed I'm reposting it, this time with additional information. [...] May be CMake devel are busy :-) The culprint is in the following section of the cmake sources:

Re: [CMake] Precompiled headers

2008-11-11 Thread Eric Noulard
2008/11/11 Yves Martelli [EMAIL PROTECTED]: Sorry to ask again, but speeding up my build would really help me and my colleagues in the context of a continuous build... Does CMake support precompiled headers when generating Makefiles? Not in mainstream CMake but there is [at least] one bug

Re: [CMake] set CPACK_SOURCE_PACKAGE_FILE_NAME when running make package_source

2008-11-11 Thread Eric NOULARD
Le Tue, 11 Nov 2008 17:55:03 +0200, Ioan Calin Borcoman [EMAIL PROTECTED] a écrit : Hi, Is it possible to change the CPACK_SOURCE_PACKAGE_FILE_NAME when I run make package_source? I don't know, but I decide to do it differently. I would like to set it to a value like foo-`date

Re: [CMake] What does `cross-platform' mean?

2008-11-11 Thread Eric NOULARD
Le Tue, 11 Nov 2008 09:13:04 +0100, Mathias Fröhlich [EMAIL PROTECTED] a écrit : [...] Perhaps the abi can be determined without a try-compile, but I am not sure that would work on all platforms. That would be indeed the way cmake handles these things. But this requires plenty of

[CMake] Pure template libraries

2008-11-12 Thread Eric Noulard
2008/11/12 Cristóvão Sousa [EMAIL PROTECTED]: On Wednesday 12 November 2008 12:58:08 Eric Noulard [EMAIL PROTECTED] wrote: 2008/11/12 Cristóvão Sousa [EMAIL PROTECTED]: This works fine, but is a little bit annoying having to place include_directories(${PROJECT_SOURCE_DIR}/base

Re: [CMake] Pure template libraries

2008-11-12 Thread Eric Noulard
2008/11/12 Cristóvão Sousa [EMAIL PROTECTED]: Hi, I'm having some trouble about creating the correct CMakeLists.txt files to deal with pure template libraries (header files only). A simple sample: I have 3 directories with a file in each one: - Libbase '- base.hpp - Libderiv

Re: [CMake] CTest question...

2008-11-18 Thread Eric NOULARD
Le Tue, 18 Nov 2008 15:53:25 -0800 (PST), BRM [EMAIL PROTECTED] a écrit : Any info on this? Any better resources? I think we miss informations about your particular configuration. I do use ADD_TEST with no trouble. See more question below: From: BRM [EMAIL PROTECTED] To: CMake

Re: [CMake] CTest question...

2008-11-19 Thread Eric Noulard
2008/11/20 BRM [EMAIL PROTECTED]: It was reporting that it could not find the executable. However, this was certainly a PEBKAC issue (do'h) - I forgot to have an ADD_EXECUTABLE() for the test program - or even an CREATE_TEST_SOURCE_LIST()...though so it shouldn't have been finding it.

Re: [CMake] Adding install dependency to test-target?

2008-11-20 Thread Eric Noulard
2008/11/20 Hugo Heden [EMAIL PROTECTED]: Good day all, Is there any way that I can add 'install' dependency to the 'test'-target? Doing add_dependencies( test install ) does not seem to work: CMake Error at ... (ADD_DEPENDENCIES): add_dependencies Adding dependency to

Re: [CMake] Running configure/make from CMakeLists.txt

2008-11-20 Thread Eric Noulard
2008/11/20 Sean Soria [EMAIL PROTECTED]: I'm trying to convert a project to cmake. There are a lot of other open source libraries contained in the project which are compiled using configure/make. I'd like to not have to convert their build methods to use cmake as well. Is there a simple way

Re: [CMake] [Cdash] Not receiving e-mail for failed test?

2008-11-22 Thread Eric Noulard
2008/11/20 Julien Jomier [EMAIL PROTECTED]: Now I receive e-mail. What does __BROKEN__ submission means? Am I (and other submitter) miss-using ctest for submitting, It means that the submission has either warnings, errors and tests then it's broken. The submission itself is fine :) Let

Re: [CMake] [Cdash] Not receiving e-mail for failed test?

2008-11-23 Thread Eric NOULARD
Le Sat, 22 Nov 2008 17:18:37 -0500, Julien Jomier [EMAIL PROTECTED] a écrit : Eric, CDash doesn't send an email if a test has been failing twice (or more) in a row to avoid sending duplicate emails. For instance, in your case, this test was failing the previous night, therefore you would

Re: [CMake] Complaint about if..endif

2008-11-23 Thread Eric NOULARD
Le Sun, 23 Nov 2008 12:15:06 +1100, Jack Andrews [EMAIL PROTECTED] a écrit : hi rob, Why must endif() contain the same expression as the associated if() command? i think this could be the most noticed feature of cmake (in the five minute test). as noted, in other posts, you don't have

Re: [CMake] Complaint about if..endif

2008-11-23 Thread Eric NOULARD
Le Sun, 23 Nov 2008 17:43:53 +0100, cyril_wobow [EMAIL PROTECTED] a écrit : Robert Dailey a écrit : On Sun, Nov 23, 2008 at 4:20 AM, cyril_wobow [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Like a ... python front end ? Seriously, cmake is really, really, really verbose

Re: [CMake] Unit testing in CMake

2008-11-24 Thread Eric NOULARD
Le Mon, 24 Nov 2008 16:06:06 -0600, Robert Dailey [EMAIL PROTECTED] a écrit : Hi, I'm reading this wiki articlehttp://www.cmake.org/Wiki/CMake_Testing_With_CTeston how to perform tests using CMake. However, the tests I'm wanting to run aren't already built. I need to be able to use CMake

Re: [CMake] Passing parameters via command prompt

2008-11-26 Thread Eric Noulard
2008/11/26 Steven Van Ingelgem [EMAIL PROTECTED]: What I would like to do is create some kind of batch generation for every combination of debug/release, static/dynamic. So I would call: echo building static release cmake -D cfg=release -D link=static . make all make install echo

Re: [CMake] Passing parameters via command prompt

2008-11-26 Thread Eric Noulard
2008/11/26 Steven Van Ingelgem [EMAIL PROTECTED]: Hi Eric, That's pretty bad as well, because if I change 1 small cpp file, I will be rebuilding everything... Not very nice :). I always run cmake ., but is it possible to do for example: -- mkdir static_release cd static_release

Re: [CMake] Testing for a Target

2008-11-26 Thread Eric Noulard
2008/11/26 Michael Jackson [EMAIL PROTECTED]: Is there a way to actually test to see if a target exists or has been created? I am working on the boost-cmake stuff and I would to implement a macro that takes in requirements for a target (regression test). As it checks those requirements the

Re: [CMake] How to make FILE() append to the list of files?

2008-11-26 Thread Eric Noulard
2008/11/27 Robert Dailey [EMAIL PROTECTED]: find . -name *.c source_files.txt edit source_files.txt and put that list of files exiplicitly into a CMakeLists.txt file. file(GLOB is a bad way to get source lists for CMake. CMake has no way of knowing when new files have been put in the

Re: [CMake] CMakeEd Eclipse Plugin has another Release Candidate Ready.

2008-11-30 Thread Eric Noulard
2008/11/30 Michael Jackson [EMAIL PROTECTED]: I have posted another Release Candidate for the CMakeEd Eclipse Plugin. You can download it from http://cmakeed.sourceforge.net. Fixed in this release is better indexing of user defined variables and updated documentation generated from CMake

Re: [CMake] CMakeEd Eclipse Plugin has another Release Candidate Ready.

2008-12-01 Thread Eric Noulard
2008/12/1 Michael Jackson [EMAIL PROTECTED]: If you use the built in help from Eclipse you can browse and search the complete CMake documentation as generated from CMake itself. If you bring up the Eclipse Help there should be a new section for CMake. Yes that's right and I missed that. In

Re: [CMake] cmake 2.6.3 RC 5

2008-12-03 Thread Eric Noulard
2008/12/3 Bill Hoffman [EMAIL PROTECTED]: I have a release candidate (RC 5) for 2.6.3 ready for CMake. I think the following patch http://public.kitware.com/Bug/view.php?id=7904 deserve inclusion since it is fully backward compatible and adds a requested feature. -- Erk

Re: [CMake] Why does dependency scanning in version 2.6 seem so slow?

2008-12-03 Thread Eric Noulard
2008/12/3 Senanu Pearson [EMAIL PROTECTED]: Hi folks, Is there a way to speed up the dependency scan in version 2.6? I recently installed a new Linux OS (Mandriva 2009) which included an upgrade to cmake 2.6 (I _think_ I had version 2.4 before). However, when I run make (after running cmake

Re: [CMake] How do you determine what compiler is being used?

2008-12-03 Thread Eric Noulard
2008/12/3 Bartlett, Roscoe A [EMAIL PROTECTED]: Hello, How can determine what general type of compiler is being used? For example, how can we determine if our project is being configured to use the Sun CC compiler? In C++ code I can just check for the define __sun but how can I get this

Re: [CMake] list( LENGTH ) problem

2008-12-04 Thread Eric NOULARD
Le Wed, 3 Dec 2008 10:09:56 -0600, Robert Dailey [EMAIL PROTECTED] a écrit : On Tue, Dec 2, 2008 at 3:00 PM, Alexander Neundorf [EMAIL PROTECTED]wrote: It expects a variable which holds a list: set(myList foo bar) list( LENGTH myList listlen ) message( ${listlen} ) (didn't test

Re: [CMake] CHECK_FUNCTION_EXISTS and -Werror

2008-12-05 Thread Eric Noulard
2008/12/5 Mathieu Malaterre [EMAIL PROTECTED]: 'lo there, I had my CFLAGS set to -Werror, and because of that a try compile failed with: [...] /usr/share/cmake-2.6/Modules/CheckFunctionExists.c:3: warning: conflicting types for built-in function 'strncasecmp' Does this means

Re: [CMake] Emulating libtool's -version-info with CMake?

2008-12-09 Thread Eric Noulard
2008/12/9 Shlomi Fish [EMAIL PROTECTED]: Hi all! I have a .so library (for Unix/Windows) that I maintain several versions of. I'd like to have a symbolic links structure similar to libtool's -version-info : http://www.ensta.fr/~diam/dev/online/autoconf/autobook/autobook_91.html The

Re: [CMake] FindBoost.cmake

2008-12-12 Thread Eric NOULARD
Le Fri, 12 Dec 2008 01:50:29 -0500, Philip Lowman phi...@yhbt.com a écrit : There's an open bug to fix this here: http://public.kitware.com/Bug/view.php?id=8173 But no reaction so far... Obviously many bugs in the tracker aren't getting dealt with (don't know why). Perhaps

Re: [CMake] FindBoost.cmake

2008-12-13 Thread Eric NOULARD
Le Fri, 12 Dec 2008 11:01:55 +0100, Andreas Pakulat ap...@gmx.de a écrit : I'm no Kitware employee but so far I think that at least for FindBoost.cmake (or other maintained Find modules) the bugs should be handled directly by its maintainer:

Re: [CMake] FindBoost.cmake

2008-12-13 Thread Eric Noulard
2008/12/12 Philip Lowman phi...@yhbt.com: I'm no Kitware employee but so far I think that at least for FindBoost.cmake (or other maintained Find modules) the bugs should be handled directly by its maintainer: http://www.cmake.org/Wiki/CMake:Module_Maintainers May be it's worth asking Andreas if

Re: [CMake] running executables linked to a dll in the build directory

2008-12-15 Thread Eric Noulard
2008/12/15 Ladanyi, Akos lada...@tmit.bme.hu: Hi, My source tree consists of a library, and some test programs for the library. The library is built as a dll, and the test programs link against the import library of this dll. When I try to run the test programs (in the build tree), they

Re: [CMake] add_custom_target always runs?

2008-12-16 Thread Eric NOULARD
Le Tue, 16 Dec 2008 12:26:26 -0800, Tyler Roscoe ty...@cryptio.net a écrit : I am using what I think is a common pattern to create some headers. Following the example at http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_generate_an_executable.2C_then_use_the_executable_to_generate_a_file.3F, I

Re: [CMake] Release mode compilation

2009-01-03 Thread Eric Noulard
2009/1/3 kafou nmento ngondor...@yahoo.fr: Hi all! I'm wondering the way to build a simple project in release mode with CMake. SET(CMAKE_BUILD_TYPE Release) You may do it using CMake GUI or command line. All my trials lead to a debug build. Did you search for this issue? A somehow blind

Re: [CMake] CMake, Visual studio 2005 and long relative path

2009-01-08 Thread Eric Noulard
2009/1/8 Julien Michel julien.mic...@c-s.fr: Dear CMake users and developpers, My project is using cmake and I am trying to build it on Visual Studio 2005. The configuration process is successful, but when trying to compile, I have a long bunch of fatal C1083 error : fatal error C1083:

Re: [CMake] VS projects are rebuilt even if they don't change

2009-01-17 Thread Eric Noulard
2009/1/17 James Bigler jamesbig...@gmail.com: I started out with this CMakeLists.txt file: project(rebuild) cmake_minimum_required(VERSION 2.6 FATAL_ERROR) add_executable(test test.cpp) I then built and ran the project without problems. I then added a comment to the file, Which file?

Re: [CMake] VS projects are rebuilt even if they don't change

2009-01-18 Thread Eric Noulard
2009/1/17 James Bigler jamesbig...@gmail.com: If the CMakeLists.txt files change but have no meaningful changes I expect CMake to reconfigure but not actually write new sln or vcproj files. OK I think it's an interesting idea but... I can't verify that this is a new thing with this version

Re: [CMake] VS projects are rebuilt even if they don't change

2009-01-18 Thread Eric Noulard
2009/1/18 Hendrik Sattler p...@hendrik-sattler.de: Am Sunday 18 January 2009 12:09:21 schrieb Eric Noulard: For supporting this CMake would have to elaborate a way to figure out what no meaningful changes in CMakeLists.txt means :=) Write temporary solution/project files and compare them

Re: [CMake] Creating projects with no source files?

2009-01-18 Thread Eric Noulard
2009/1/18 Andreas Pakulat ap...@gmx.de: On 17.01.09 23:48:42, Robert Dailey wrote: Hi, I have a sort of interesting project design that I'm using that is really the source of this complication. Let me start by explaining my project structure. I have a set of reusable C++ libraries, each

Re: [CMake] Alternative IDL compiler, and adding non-present sources

2009-01-27 Thread Eric Noulard
2009/1/27 Jose Luis Blanco jlbla...@ctima.uma.es: Hi all! Issue 1: Porting an old project to CMake I realized there's no way to modify the predefined behavior when one adds an IDL file to a Visual Studio project, which is associating it to midl. In our project we'd rather need to execute

Re: [CMake] cmake generator for eclipse

2009-01-28 Thread Eric Noulard
2009/1/28 John Vines (CISD/HPCD) jvi...@arl.army.mil: What versions of cmake support the generation of eclipse project files? I am using cmake 2.4-patch 8 and am trying to generate an Eclipse project file, via ccmake -G Eclipse CDT4 - Unix Makefiles and am not generating the .project files.

Re: [CMake] problem with cpack and the using the root directory for packages

2009-01-29 Thread Eric Noulard
2009/1/29 Simon Schäfer simon.schae...@sevenload.com: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I want to pack my files together with cpack. but they should end up to have absolute paths or atleast only stripped by the first / within the tar ball. And the packaging should be done by

Re: [CMake] cpack -G DEB for subdirectories

2009-01-30 Thread Eric Noulard
2009/1/30 BlinkEye gen...@blinkeye.ch: Hello I seem not able to find an example of how to generate .deb files with cpack for different subdirectories of a project. Is this possible and if so, how? As far as I know CPack only handles a single per-project package, i.e. you may easilly build a

Re: [CMake] Using Eclipse CDT, CMake resets Eclipse project configuration frequently

2009-01-30 Thread Eric Noulard
2009/1/30 Jonatan Bijl jonatan.b...@tba.nl: I have now set up the tree so that the executables can be run immediately from where they are created. I use configure_file to copy the files. The problem is now, that every time I do a re-configure, the files (including a dll that is very big) are

Re: [CMake] Ctest update to next revision?

2009-02-03 Thread Eric Noulard
2009/2/3 David Cole david.c...@kitware.com: That's a great idea for a feature request. It's probably not feasible with out-of-the-box CVS, but you could certainly come up with an implementation of it for svn or any revision control system with atomic commits of multiple file changes at once.

Re: [CMake] Fwd: Is it necessary to link a executable file?

2009-02-04 Thread Eric Noulard
2009/2/4 ankit jain ankitgu...@gmail.com: 2009/2/4 ankit jain ankitgu...@gmail.com: Actually in this case i dont want to create libraries thats why iam wondering whether making only executable is permissble or not? If you use ADD_EXECUTABLE it should work just fine. -- Erk I am

Re: [CMake] Is it necessary to link a executable file?

2009-02-04 Thread Eric Noulard
2009/2/4 ankit jain ankitgu...@gmail.com: Actually in this case i dont want to create libraries thats why iam wondering whether making only executable is permissble or not? If you use ADD_EXECUTABLE it should work just fine. -- Erk ___ CMake

Re: [CMake] Fwd: Fwd: Is it necessary to link a executable file?

2009-02-04 Thread Eric Noulard
2009/2/4 ankit jain ankitgu...@gmail.com: The CMakeLists iam using contains: PROJECT(hello) ADD_EXECUTABLE(hello h1.C) Error iam getting is: Linking CXX executable hello /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crt1.o(.text+0x18): In function `_start': : undefined reference

Re: [CMake] Read Windows Registry value

2009-02-09 Thread Eric Noulard
2009/2/9 elizabeta petreska elizabeta.petre...@gmail.com: Hello I am trying to read MatlabRoot from Registry ,so I can use it in my include and lib paths. like this : GET_FILENAME_COMPONENT(MATLAB_ROOT_PATH [HKEY_LOCAL_MACHINE\\SOFTWARE\\MathWorks\\MATLAB\\7.0;MATLABROOT] ABSOLUTE)

Re: [CMake] Read Windows Registry value

2009-02-09 Thread Eric Noulard
2009/2/9 elizabeta petreska elizabeta.petre...@gmail.com: Still not working. I am getting the following : MATLAB_ROOT_PATH = [HKEY_LOCAL_MACHINE\SOFTWARE\MathWorks\MATLAB\7.6;MATLABROOT] My first suggestion was silly. Message may print this but registry read may be OK. You'll find attached

Re: [CMake] Cmake macro and date

2009-02-12 Thread Eric Noulard
2009/2/12 Benoit benpaka.s...@gmail.com: Hy, I want to retrieve today date in order to install various release each day. I've created a script: GetDataTime.cmake In which I have defined this macro: INCLUDE(FindPerl) MACRO (TODAY RESULT) IF (PERL_FOUND) EXECUTE_PROCESS(COMMAND

[CMake] Fwd: Cmake macro and date

2009-02-12 Thread Eric Noulard
Fwd to the list -- Forwarded message -- From: Benoit RAT (Gmail) benoit@gmail.com Date: 2009/2/12 Subject: Re: [CMake] Cmake macro and date To: Eric Noulard eric.noul...@gmail.com Okay it seems to be perl problem therefore I've decided to make the script directly calling

Re: [CMake] howto include libs ?

2009-02-15 Thread Eric Noulard
2009/2/15 Reinhard Thies reinhard.th...@web.de: Thanks, it helped, but now I get : Linking C executable ds309 /usr/bin/ld: cannot find -llibconfuse collect2: ld returned 1 exit status and the lib is defenetly there. I assume it is not cmake related but do you still have an idea ? I

Re: [CMake] relative CMAKE_MODULE_PATH

2009-02-16 Thread Eric Noulard
2009/2/16 Pau Garcia i Quiles pgqui...@elpauer.org: Hello, This works for me with CMake CVS: SET( CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake ) Yes I do that too but... this is not a relative path :-) as asked in the first place: is it possible to set a relative path as

Re: [CMake] Install target is not called

2009-02-16 Thread Eric Noulard
2009/2/17 Pavel Shevaev pacha.shev...@gmail.com: Folks, what can be the reason for install target not to be called? I have something like this in my CMakeLists.txt: add_executable(foo src1 src2 src3) target_link_libraries(foo ${libs}) install(PROGRAMS ${foo_BINARY_DIR}/foo

Re: [CMake] Install target is not called

2009-02-17 Thread Eric Noulard
2009/2/17 Pavel Shevaev pacha.shev...@gmail.com: If your binary to install is a CMake target (like in your example) you should use: install(targets foo RUNTIME DESTINATION ${foo_SOURCE_DIR}/bin) This one didn't work neither :( moreover installing in ${foo_SOURCE_DIR} is a bit

Re: [CMake] cmake option to check that a command has produced the file it should has produced

2009-02-17 Thread Eric Noulard
2009/2/17 Gaëtan Lehmann gaetan.lehm...@jouy.inra.fr: Hi, I wonder, is there an option in cmake to check that a custom command has produced the files it should have produced? I don't think there is such option. However if you have the list of supposedly produced files you may check if they

Re: [CMake] ccmake not built on Linux 64

2009-02-17 Thread Eric Noulard
2009/2/17 Michael Jackson mike.jack...@bluequartz.net: I'll try that. I just did the apt-get thing to install the libncurses5-dev package and the cmake boot strapper still can not find the curses library. I do build CMake 2.6-patch 3 RC-13 on Debian Lenny amd64 and ccmake did build fine.

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

2009-02-17 Thread Eric Noulard
2009/2/17 Alexander Neundorf a.neundorf-w...@gmx.net: But a http://autoconf-archive.cryp.to/ type archive for CMake modules would also be a good idea. At FOSDEM we also discussed about something like this, some kind of semi-official place where to get additional cmake files. Right now you

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

2009-02-17 Thread Eric Noulard
2009/2/17 Eric Noulard eric.noul...@gmail.com: 2009/2/17 Alexander Neundorf a.neundorf-w...@gmx.net: But a http://autoconf-archive.cryp.to/ type archive for CMake modules would also be a good idea. At FOSDEM we also discussed about something like this, some kind of semi-official place where

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

2009-02-17 Thread Eric Noulard
2009/2/16 Bill Hoffman bill.hoff...@kitware.com: Philip Lowman wrote: A tertiary goal would be convincing the 3rd party dependencies to switch to CMake for their native build systems. I don't really like the propaganda idea :-) Particularly for Open Source projects. Open Source is about

Re: [CMake] duplicate file name

2009-02-19 Thread Eric Noulard
2009/2/18 Nicolas Slythe (Intern) nicolas.sly...@autodesk.com: I'm using CMake 2.4-patch 8 I have an issue with duplicate file name If I have 2 file with the same name in different folder CMake does not process the second one 2 identical **files** in separate folders should not be an issue

Re: [CMake] creating custom make targets

2009-02-19 Thread Eric Noulard
2009/2/19 Aaron Turner synfina...@gmail.com: On Wed, Feb 18, 2009 at 3:40 PM, Matthew Woehlke mw_tr...@users.sourceforge.net wrote: Aaron Turner wrote: Basically, I'm looking for a way to create a new make target test_standard and associate create_custom_target()'s to it. I assume you mean

Re: [CMake] CPack deb generator

2009-02-19 Thread Eric Noulard
2009/2/19 Bruno Antunes sardaukar.s...@gmail.com: Hello! Is there any way to include post-install events in CPack's DEB generator? From CPackDeb.cmake I think you may include extra scripts in the control.tar.gz generated by CPack DEB generator. # CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA # This

Re: [CMake] EXECUTABLE_OUTPUT_PATH is not just deprecated, it's harmful!

2009-02-19 Thread Eric Noulard
2009/2/19 kent williams nkwmailingli...@gmail.com: So we have a big program (well a couple of them Brains2 and Brains3), and a bunch of 'unbundled' programs (BRAINSFit, BRAINSDemonWarp, BRAINSTracer etc..). We use SVN to add the 'unbundled' programs as subdirectories of our BRAINS svn

Re: [CMake] Toggling a Preprocessor macro for targets within a single project

2009-02-20 Thread Eric Noulard
2009/2/20 Andreas Pokorny andreas.poko...@gmail.com: Hi, We have a platfrom abstraction layer which uses a trace system. But one of the trace backends also uses the platform abstraction for network communication. So we want to build the required platform libs twice with and without tracing.

Re: [CMake] Toggling a Preprocessor macro for targets within a single project

2009-02-20 Thread Eric Noulard
2009/2/20 Christian Ehrlicher ch.ehrlic...@gmx.de: Von: Andreas Pokorny Hello, Wow that was fast. Thanks a lot. Obviously I was too fast reading the doc :-) [...] SET_TARGET_PROPERTIES(PlatformLib PROPERTIES DEFINE_SYMBOL USE_TRACER)

Re: [CMake] How to search archives? CMake error code documentation?

2009-02-21 Thread Eric Noulard
2009/2/20 r...@transpireinc.com: A couple basic items, but I haven't been able to find the answers in the docs or wiki: 1.) I can browse the mail list archives, but is there a way to search them? Yes at least here: http://www.mail-archive.com/cmake@cmake.org/ there should be other too.

[CMake] CMake ML searchable archive added to the FAQ

2009-02-21 Thread Eric Noulard
Hi All, I have just added to the FAQ a question: Where can I find searchable CMake Mailing Archives? with current answer: * http://www.mail-archive.com/cmake@cmake.org/ * http://marc.info/?l=cmake I did update: http://www.cmake.org/Wiki/CMake#Primary_Resources_-_Look_here_first.21 too

Re: [CMake] CMake ML searchable archive added to the FAQ

2009-02-21 Thread Eric Noulard
2009/2/21 Aaron Turner synfina...@gmail.com: PS: feel free to update the answer in the FAQ if you know more searchable archives of the ML. I've always used the site keyword via google to search the archives: site:http://www.cmake.org/pipermail/cmake/ search terms I didn't know that, thank

Re: [CMake] Location of .idb, .pdb, and .ilk

2009-02-22 Thread Eric Noulard
2009/2/22 Hai Nguyen chaotic...@gmail.com: Hi, Is there a way I can control where these files end up? Or maybe, is there away I can control where the resulting .dll/.so file ends up apart from these files? For .dll/.so you may set (I don't know the behaviour of the .pdb, .ilk and the like)

Re: [CMake] Generating shell script through cmake

2009-02-26 Thread Eric Noulard
2009/2/26 ankit jain ankitgu...@gmail.com: Hi, I want to generate a shell script which should be executable through three files. first file has some macros with other functions and other code. Second and third file haev definitions fot he macro the functions. Can i generate a shell script

Re: [CMake] automatically re-generating makefiles

2009-02-26 Thread Eric Noulard
2009/2/26 Alex Flint alex.fl...@gmail.com: Hi there, I've noticed that when I run make blah then the makefile is automatically re-generated if I've changed anything in CMakeLists.txt since the last time I built blah. However, if I add a new target to CMakeLists.txt then I have to run cmake

Re: [CMake] Memory checking MPI programs with valgrind?

2009-02-26 Thread Eric Noulard
2009/2/26 Bartlett, Roscoe A raba...@sandia.gov: Hello, Does anyone know how to get CMake/CTest to do memory testing with MPI programs using valgrind?  The problem is that by default valgrind just tests the mpiexec/mpirun driver program and not your user program.  I think there are some

Re: [CMake] linking cmake targets to cpack targets

2009-02-27 Thread Eric Noulard
2009/2/27 Aaron Turner synfina...@gmail.com: When I was using autotools, I'd hook up a target version to dist-gzip so that my version.c (which was auto-generated and had my svn repo revision in it) was always up to date when I built my source tarball.  Is there a way to do that with cpack's

Re: [CMake] linking cmake targets to cpack targets

2009-02-28 Thread Eric Noulard
2009/2/28 Aaron Turner synfina...@gmail.com: So is there a clean way to pass the current Cmake config variables to a new cmake process via execute_process()?  Or do I need to create a template file and use configure_file() to do that?  Basically, your above example doesn't work for me because

Re: [CMake] Technique for generating projects that depend on generated sources

2009-03-01 Thread Eric Noulard
2009/3/1 Alexander Neundorf a.neundorf-w...@gmx.net: On Friday 27 February 2009, Steve Huston wrote: Thanks for the advice, Bill. My situation is somewhat different, though. The output source files are not known ahead of time. Thus, the general scheme is: - build runs the source generator;

Re: [CMake] Creating filters (a.k.a. subdirectories) for Visual Studio projects

2009-03-03 Thread Eric Noulard
2009/3/3 Michael Schantin mich...@schantin.net: Hello, is there a possibility to generate those filters (a.k.a. subdirectories in .vcproj files) using CMake? I managed to generate several CMakeLists.txt files. One resides in the root directory, the other ones in subdirectories. They are

Re: [CMake] Creating filters (a.k.a. subdirectories) for Visual Studio projects

2009-03-03 Thread Eric Noulard
2009/3/3 Michael Jackson mike.jack...@bluequartz.net: On Mar 3, 2009, at 5:26 AM, Eric Noulard wrote: 2009/3/3 Michael Schantin mich...@schantin.net: INCLUDE(${PROJECT_SOURCE_DIR}/mySubDir1/CMakeLists.txt) INCLUDE(${PROJECT_SOURCE_DIR}/mySubDir2/CMakeLists.txt) You usually don't

Re: [CMake] Setting default make options for Makefiles generator

2009-03-05 Thread Eric Noulard
2009/3/5 Adolfo Rodríguez dof...@gmail.com: Thanks Philip, I had considered the alias option before, but wanted to rule out that there was no way of doing it the scope of a cmake project, however strange that may sound. I will probably take that path now. Note that I find the idea of being

Re: [CMake] problem with cmake script.

2009-03-09 Thread Eric Noulard
2009/3/9 Benoit benpaka.s...@gmail.com: Hello, I'm having some trouble to use a cmake script correctly and i don't know why. [...] Does anyone know why the result of OpenCV_HIGHGUI_INCLUDE_DIR=/usr/include/opencv and not /opt/opencv/1.1.0/include/opencv even if both files

Re: [CMake] CPack source package path

2009-03-09 Thread Eric Noulard
2009/3/9 Adolfo Rodríguez dof...@gmail.com: Hi, I have set up CPack to generate source and binary packages with the TGZ generator. As I understand, the compressed tar consists of the files located in: ${CMAKE_BINARY_DIR}/_CPack_Packages/Linux-Source/TGZ/ I want to exclude some files from

Re: [CMake] How to set CPACK_SOURCE_IGNORE_FILES to remove all source code?

2009-03-09 Thread Eric Noulard
2009/3/9 David Fitzpatrick fitzpatr...@stellarscience.com: I have been working with CMake/CPack (2.6.2 and 2.6.3) for a few weeks now and have run into a problem with creating a binary distro using Cpack and NSIS. I would like to set a flag to remove all source code from the installer and have

Re: [CMake] How to set CPACK_SOURCE_IGNORE_FILES to remove all source code?

2009-03-09 Thread Eric Noulard
2009/3/9 David Fitzpatrick fitzpatr...@stellarscience.com: Thanks for the reply Eric, Let me clarify a few things. By binary distro I was implying an installer package without the source code. It is true that my install commands do pull in directories that have source code (with INSTALL(

Re: [CMake] How to set CPACK_SOURCE_IGNORE_FILES to remove all source code?

2009-03-10 Thread Eric Noulard
2009/3/9 Eric Noulard eric.noul...@gmail.com: My mistake, I've cut the wrong part, sorry about that CPACK_SOURCE_FILES was meant to be CPACK_IGNORE_FILES you want to ignore files in BINARY package so the var to use is CPACK_IGNORE_FILES when you want to ignore files in a SOURCE pacakge

Re: [CMake] disablе C checking

2009-03-11 Thread Eric Noulard
2009/3/11 Artem Zolochevskiy artem.zolochevs...@gmail.com: hi all I'm newbie here. Sorry for my terrible English. For my first project I don't even need C. How can I disable C checking? In my project I try to convert some documentation (txt-html) with asciidoc and want to do it with help

<    2   3   4   5   6   7   8   9   10   11   >