[CMake] MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcr100.dll

2011-05-02 Thread Mathieu Malaterre
Dear all, I keep getting this error during cmake configuration time: ... CMake Warning at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:314 (MESSAGE): system runtime library file does not exist:

Re: [CMake] MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcr100.dll

2011-05-02 Thread Mathieu Malaterre
with a nightly build of CMake? (downloaded from Kitware, or based on 'master' or 'next'...?) Try with a recent nightly build and see if you get the same thing, please. http://cmake.org/files/dev/?C=M;O=D Thanks, David On Mon, May 2, 2011 at 10:21 AM, Mathieu Malaterre mathieu.malate

Re: [CMake] MSVC10_REDIST_DIR-NOTFOUND/x86/Microsoft.VC100.CRT/msvcr100.dll

2011-05-02 Thread Mathieu Malaterre
-Express editions of VS 2010. HTH, David On Mon, May 2, 2011 at 10:44 AM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: Hi Dave,  Thanks for your input. Using: cmake-2.8.4.20110426-g6bb0a-win32-x86.exe Here is what I get: ... CMake Warning at C:/Program Files/CMake 2.8/share

[CMake] cmd.exe does not expand wildcards

2011-06-08 Thread Mathieu Malaterre
Hi there, Slightly off topic, but how do people cope with cmd.exe not expanding wildcards (*) ? I would like to do something like: cmd cmake -E tar cvfz test.tgz *.log Thanks -- Mathieu ___ Powered by www.kitware.com Visit other Kitware

[CMake] if+or: Unknown arguments specified

2011-06-10 Thread Mathieu Malaterre
Hi all, I am trying to write a simple if ( or ) expression but this leads to the following error message: ... CMake Warning (dev) at CMakeLists.txt:10 (if): given arguments: var STREQUAL foo or var STREQUAL bla Unknown arguments specified ... Here is a simple test to reproduce:

Re: [CMake] if+or: Unknown arguments specified

2011-06-10 Thread Mathieu Malaterre
On Fri, Jun 10, 2011 at 9:50 AM, Michael Wild them...@gmail.com wrote: On 06/10/2011 09:23 AM, Mathieu Malaterre wrote: Hi all,   I am trying to write a simple if ( or ) expression but this leads to the following error message: ... CMake Warning (dev) at CMakeLists.txt:10 (if):   given

[CMake] install( TARGETS module ...)

2011-07-01 Thread Mathieu Malaterre
Dear all, I am trying to change the default behavior of cmake which installs MODULE to the LIBRARY destination. For example: ... add_library(test MODULE test.c) install(TARGETS test RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib/static ) ... Will install

[CMake] cpack: Bundle vs DragNDrop vs OSXX11 vs PackageMaker

2012-01-11 Thread Mathieu Malaterre
[Happy New Year 2012 !] Hi all, I am trying to release openjpeg 1.5. To distribute binary package of this software on MacOSX, I am starring at the cpack documentation. I am not a MacOSX user, so could someone please point me to the documentation for the differences in between the

[CMake] relocation R_MIPS_HI16 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

2012-02-01 Thread Mathieu Malaterre
Hi all, I am trying to fix the following issue with building volview on mips: https://buildd.debian.org/status/fetch.php?pkg=volviewarch=mipselver=3.4-1stamp=1327908956 Quote: ... cd /build/buildd-volview_3.4-1-mipsel-QA92w9/volview-3.4/obj-mipsel-linux-gnu/VolViewLibraries/KWCommonPro

Re: [CMake] Regression in FindJNI.cmake on ia64?

2010-05-28 Thread Mathieu Malaterre
On Fri, May 28, 2010 at 3:55 PM, Denis Barbier bou...@gmail.com wrote: On 2010/5/28 Brad King wrote: Denis Barbier wrote: Hello cmake maintainers, vtk 5.4.2-7 FTBFS on ia64     https://buildd.debian.org/fetch.cgi?pkg=vtk;ver=5.4.2-7;arch=ia64;stamp=1275000467 In this version, local

[CMake] CTest / UTF-8

2010-05-31 Thread Mathieu Malaterre
Hi there, Does anyone know how I can tell ctest to use UTF-8 to generate the XML files used for uploading results to CDAsh ? I have on one hand: Testing/Temporary/LastBuild_20100531-0918.log:/home/mathieu/Projects/CoSMo/trunk/Code/IO/csmModelModificationsLoader.cxx:386: warning: conversion to

Re: [CMake] CTest / UTF-8

2010-05-31 Thread Mathieu Malaterre
$ ctest --version ctest version 2.8.0 I guess I need to update :) Thanks On Mon, May 31, 2010 at 7:23 PM, David Cole david.c...@kitware.com wrote: ctest 2.8.1 and later should already be generating proper UTF-8... what version of ctest are you using? On Mon, May 31, 2010 at 9:32 AM, Mathieu

Re: [CMake] CTest / UTF-8

2010-06-01 Thread Mathieu Malaterre
For later reference, this was indeed the trick, simply updating from 2.8.0 to 2.8.1 solved my issue. Thanks Dave ! On Mon, May 31, 2010 at 7:26 PM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: $ ctest --version ctest version 2.8.0 I guess I need to update :) Thanks On Mon, May 31

Re: [CMake] Modified FindDCMTK

2010-06-11 Thread Mathieu Malaterre
/) #= # Copyright 2004-2009 Kitware, Inc. # Copyright 2009 Mathieu Malaterre mathieu.malate...@gmail.com # Copyright 2010 Thomas Sondergaard t...@medical-insight.com # # Distributed under the OSI-approved BSD License (the License); # see

[CMake] 0009835: ctest --help-property CTEST_BUILD_TARGET

2010-06-14 Thread mathieu . malaterre
Hi there, I reported a bug a couple of month back, which apparently was fixed with Closing this since the new TARGET option for CTEST_BUILD is well documented. I am looking at the git web interface of ctest_build:

[CMake] CTEST_BUILD_COMMAND conflicts with CTEST_BUILD_TARGET (was Re: 0009835: ctest --help-property CTEST_BUILD_TARGET)

2010-06-16 Thread Mathieu Malaterre
I finally got everything working with cmake 2.8.1, there is just one glitch, one cannot set CTEST_BUILD_COMMAND for CTEST_BUILD_TARGET to work. I added a bug report here: http://cmake.org/Bug/view.php?id=10838 I simply had to comment out my setting: #SET (CTEST_BUILD_COMMAND make -i) HTH On

[CMake] Propagating variable to toplevel parent

2010-07-07 Thread Mathieu Malaterre
Hi there, I am wondering if I am missing anything here. How would one propagate a variable across subdirectories in cmake ? I thought that a simple CACHE variable would do the trick, but using cmake 2.8.1 I had to do the following trick list(APPEND v 42) # make sure to actually update the

Re: [CMake] Propagating variable to toplevel parent

2010-07-07 Thread Mathieu Malaterre
On Wed, Jul 7, 2010 at 1:07 PM, Bo Thorsen b...@askmonty.org wrote: Den 07-07-2010 12:34, Mathieu Malaterre skrev: Hi there,   I am wondering if I am missing anything here. How would one propagate a variable across subdirectories in cmake ? I thought that a simple CACHE variable would do

Re: [CMake] Propagating variable to toplevel parent

2010-07-09 Thread Mathieu Malaterre
On Wed, Jul 7, 2010 at 3:06 PM, Michael Wild them...@gmail.com wrote: project(bla NONE) set_property(GLOBAL PROPERTY v 13) add_subdirectory(foo) get_property(v GLOBAL PROPERTY v) message(final v: ${v}) For properties you must always use getters and setters, they are never directly

[CMake] Building ITK with VTK 5.6

2010-07-22 Thread Mathieu Malaterre
Hi there, I am trying to build ITK from a toplevel directory, my application is setup simply like this: $ cat CMakeLists.txt project(MySuperApp) find_package(VTK REQUIRED) message(${VTK_VERSION}) add_subdirectory(ITK) # contains the ITK source Since cmake 2.8 find_package now sets VTK_VERSION

[CMake] findpackage.cmake vs packageconfig.cmake

2010-08-10 Thread Mathieu Malaterre
Hi there, I am trying to find a solution to find the openjpeg package. In the 1.x version, openjpeg uses a makefile based build system. In this case I need to write a custom findopenjpeg.cmake file to discover all required path. However in the current 2.x version, openjpeg now uses cmake

Re: [CMake] findpackage.cmake vs packageconfig.cmake

2010-08-11 Thread Mathieu Malaterre
On Tue, Aug 10, 2010 at 7:47 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Tuesday 10 August 2010, Mathieu Malaterre wrote: Hi there,   I am trying to find a solution to find the openjpeg package.   In the 1.x version, openjpeg uses a makefile based build system. In this case I

Re: [CMake] Getting a list of all targets?

2010-09-06 Thread Mathieu Malaterre
On Mon, Sep 6, 2010 at 12:51 AM, Clifford Yapp cliffy...@gmail.com wrote: Is there any way within a CMakeLists.txt file to get a list of all the currently defined targets?  I'm interested in this for two primary reasons, and if anyone can point me to other solutions for these that would be

[CMake] Non-blocking execute_process ?

2010-11-04 Thread Mathieu Malaterre
Hi there, For my test suite, I need to spawn a process, but I do not want to wait for it to complete (it will be actually listening during the test execution). AFAIK execute_process will wait until TIMEOUT expires. Is there another non-blocking function I could use in between ctest_configure()

Re: [CMake] Get the list of all TARGETS?

2011-01-18 Thread Mathieu Malaterre
On Tue, Jan 18, 2011 at 3:18 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/1/18 Clifford Yapp cliffy...@gmail.com: Sounds like this issue: http://www.cmake.org/pipermail/cmake/2010-September/039388.html I can confirm the wrapper function approach works, using it in BRL-CAD. Right,

[CMake] get_target_property( LOCATION) and CMAKE_DEBUG_POSTFIX (aka: Installing PDB files)

2011-02-07 Thread Mathieu Malaterre
Dear all, I am trying to retrieve the full path of a dll to be able to compute the full path of the associated pdb file. I thought I could simply use the get_target_property( LOCATION) API, however it fails to return the actual name of the TARGET, for instance the value of CMAKE_DEBUG_POSTFIX

Re: [CMake] get_target_property( LOCATION) and CMAKE_DEBUG_POSTFIX (aka: Installing PDB files)

2011-02-08 Thread Mathieu Malaterre
On Tue, Feb 8, 2011 at 4:36 AM, Michael Hertling mhertl...@online.de wrote:   Is there another API to retrieve the path to a dll file generated by cmake from its target name ? Have you already tried the LOCATION_CONFIG target property?                                   ^ Fantastic !

[CMake] CPack: CPACK_COMPONENT_GROUP in cmake 2.8.3 / Windows binary zip

2011-02-08 Thread Mathieu Malaterre
All, I am trying to generate binary zip of my project using CPack 3.8.3 and looks like now it generates two zip files where each file has the name of the group. Did anyone noticed this change ? How do I revert it back to the old behavior all groups in the same binary zip file ? Thanks, --

Re: [CMake] CPack: CPACK_COMPONENT_GROUP in cmake 2.8.3 / Windows binary zip

2011-02-08 Thread Mathieu Malaterre
Answering myself: set(CPACK_MONOLITHIC_INSTALL 1) 2cts On Tue, Feb 8, 2011 at 5:37 PM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: All,  I am trying to generate binary zip of my project using CPack 3.8.3 and looks like now it generates two zip files where each file has the name

Re: [CMake] CPack: CPACK_COMPONENT_GROUP in cmake 2.8.3 / Windows binary zip

2011-02-08 Thread Mathieu Malaterre
, but I still need CPACK_MONOLITHIC_INSTALL for backward compatibility. Thanks again for your work ! On Tue, Feb 8, 2011 at 6:50 PM, Eric Noulard eric.noul...@gmail.com wrote: 2011/2/8 Mathieu Malaterre mathieu.malate...@gmail.com: All,  I am trying to generate binary zip of my project using

[CMake] Making Relocatable Binaries (AIX, SunOS, HPUX testers wanted)

2008-07-29 Thread Mathieu Malaterre
Hi there, There is a pretty neat feature that comes within CMake: SharedForward.h.in. Basically it let you create a relocatable application (with a main function) on all system supported by CMake. The issue for me, is that it really rely on the main function and the argv param, which I do

Re: [CMake] Making Relocatable Binaries (AIX, SunOS, HPUX testers wanted)

2008-07-29 Thread Mathieu Malaterre
If you do not have subversion on your system, you can get a tarball using for example wget: $ wget --no-check-certificate https://gdcm.svn.sf.net/viewvc/gdcm/Sandbox/RelocatableModule.tar.gz?view=tar; Thanks, On Tue, Jul 29, 2008 at 11:46 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: Hi

Re: [CMake] CMake 2.6.1 available for download

2008-08-04 Thread Mathieu Malaterre
Bill, I can reproduce my infinite dependencie problem. Every time I type 'make' it redoes the swig step, using cmake 2.4.5 I cannot reproduce the issue. How do I track this thing down ? Otherwise steps are simply: svn co https://gdcm.svn.sourceforge.net/svnroot/gdcm/trunk mkdir bla cd bla

Re: [CMake] Error running link command: Argument list too long

2008-08-04 Thread Mathieu Malaterre
On Mon, Aug 4, 2008 at 4:16 PM, Brad King [EMAIL PROTECTED] wrote: It definitely fixed the problem. Thanks a bunch. Okay, I'll look at using these everywhere possible by default. Does this means 'make VERBOSE=1' will not be verbose anymore ? -- Mathieu

Re: [CMake] CMake 2.6.1 available for download

2008-08-04 Thread Mathieu Malaterre
On Mon, Aug 4, 2008 at 4:46 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Mathieu Malaterre wrote: Bill, I can reproduce my infinite dependencie problem. Every time I type 'make' it redoes the swig step, using cmake 2.4.5 I cannot reproduce the issue. How do I track this thing down

Re: [CMake] CMake 2.6.1 available for download

2008-08-04 Thread Mathieu Malaterre
On Mon, Aug 4, 2008 at 5:37 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Mathieu Malaterre wrote: As a side note, linux user are second class citizen and AFAIK do not get automated RC build, right ? win user are simply a click away of trying RC. No, I do a full build for each RC, all platforms

[CMake] UseSWIG and -interface flag (was: Re: CMake 2.6.1 available for download)

2008-08-04 Thread Mathieu Malaterre
On Mon, Aug 4, 2008 at 7:04 PM, Brad King [EMAIL PROTECTED] wrote: Mathieu Malaterre wrote: I can reproduce my infinite dependencie problem. Every time I type 'make' it redoes the swig step, using cmake 2.4.5 I cannot reproduce the issue. How do I track this thing down ? Otherwise steps

[CMake] ld: library not found for -lcrt1.10.5.o

2008-08-13 Thread Mathieu Malaterre
Hi there, One of my user is getting the following while compiling the wxVTK project (using cmake): mccdo:build mccdo$ make [ 10%] Building CXX object

Re: [CMake] CMake Java configuration error on Linux, working fine on Mac and Windows.

2008-08-13 Thread Mathieu Malaterre
It simply means that java (javac ?) was not found on the linux system. if you ccmake and/or make edit_cache you'll see that some JAVA required inputs are missing. HTH On Wed, Aug 13, 2008 at 2:23 AM, Andy Somogyi [EMAIL PROTECTED] wrote: Hello I'm working on a c++ / JNI application which

Re: [CMake] CMake Java configuration error on Linux, working fine on Mac and Windows.

2008-08-13 Thread Mathieu Malaterre
Actually if you simply copy/paste your error message, I believe you made a case-sensitive type, try: FIND_PACKAGE(Java) instead of FIND_PACKAGE(JAVA) :) 2cts On Wed, Aug 13, 2008 at 1:49 PM, Mathieu Malaterre [EMAIL PROTECTED] wrote: It simply means that java (javac ?) was not found

Re: [CMake] CPack DEB generator: Installed-Size field

2008-08-13 Thread Mathieu Malaterre
Rudoy, This must be a new requirement by newer apt-* stuff. Have a look at cmCPackDebGenerator.cxx. The code is pretty straighforward. You simply have to add the function that compute the size and then simply insert it at the right position. If you get it working, please send the patch back

Re: [CMake] SWIG support throughts : naming conventions

2008-08-13 Thread Mathieu Malaterre
On Fri, Aug 8, 2008 at 3:33 PM, Antoine PREVOT [EMAIL PROTECTED] wrote: Hi again, I am still struggling with SWIG, and tested various things. Since UseSWIG.cmake seems quite similar from 2.4 to 2.6-1, here are some throughts I had while using it. I don't know if my patches are relevant or

Re: [CMake] [wxVTK] Problems on Mac OS 10.5 and wxWidgets 2.8.7

2008-08-14 Thread Mathieu Malaterre
Hi Doug, On Thu, Aug 14, 2008 at 4:38 PM, Doug McCorkle [EMAIL PROTECTED] wrote: Here is what I get: leonidas:build mccdo$ make VERBOSE=1 /Volumes/data/stuff/data/VE_Suite_Tools/CMake/cmake-2.6.0-Darwin-universal/CMake 2.6-0.app/Contents/bin/cmake

Re: [CMake] [Dcmlib] Building GDCM 2.0.7 on WinXP

2008-08-19 Thread Mathieu Malaterre
Pierre, On Tue, Aug 19, 2008 at 3:23 PM, Pierre Raybaut [EMAIL PROTECTED] wrote: Hi Mathieu, I still have one problem with GDCM 2.0.8. Apparently, binaries are dependent on the Windows version (more precisely on the version of kernel32.dll and/or ntdll.dll -- I ran a Dependency Walker

[CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
Hi there, I have written a very simple toolchain file for using mingw32 on linux. Everything works out of the box nicely (congrats!). I now trying to get the testing framework to work with wine (the return value is actually properly propagated). So far the change needed are: FOREACH(name

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Tue, Aug 19, 2008 at 10:19 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Tuesday 19 August 2008, Mathieu Malaterre wrote: ... Is this the correct way of doing it ? 1. The way to differenciate a cross compiled project from a regular cmake one is by checking the value

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Tue, Aug 19, 2008 at 10:51 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Tuesday 19 August 2008, Mathieu Malaterre wrote: Alex, Did you figure out a way to install 32bits debian package in the /emul/ia32 subdirectory ? What ? How did you install your target system environment

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Tue, Aug 19, 2008 at 10:57 PM, Hendrik Sattler [EMAIL PROTECTED] wrote: Am Dienstag, 19. August 2008 22:24:12 schrieb Mathieu Malaterre: Did you figure out a way to install 32bits debian package in the /emul/ia32 subdirectory ? How did you install your target system environment. On my

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Tue, Aug 19, 2008 at 11:17 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Tuesday 19 August 2008, Hendrik Sattler wrote: Am Dienstag, 19. August 2008 22:24:12 schrieb Mathieu Malaterre: Did you figure out a way to install 32bits debian package in the /emul/ia32 subdirectory ? How

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Tue, Aug 19, 2008 at 11:23 PM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Tue, Aug 19, 2008 at 11:17 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Tuesday 19 August 2008, Hendrik Sattler wrote: Am Dienstag, 19. August 2008 22:24:12 schrieb Mathieu Malaterre: Did you figure out

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Tue, Aug 19, 2008 at 11:37 PM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Tue, Aug 19, 2008 at 11:23 PM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Tue, Aug 19, 2008 at 11:17 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Tuesday 19 August 2008, Hendrik Sattler wrote: Am

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Tue, Aug 19, 2008 at 11:46 PM, Hendrik Sattler [EMAIL PROTECTED] wrote: Am Dienstag, 19. August 2008 23:17:18 schrieb Alexander Neundorf: On Tuesday 19 August 2008, Hendrik Sattler wrote: Am Dienstag, 19. August 2008 22:24:12 schrieb Mathieu Malaterre: Did you figure out a way

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Tue, Aug 19, 2008 at 11:51 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Tuesday 19 August 2008, Mathieu Malaterre wrote: ... In summary, the steps are simply: $ apt-cross --arch i386 -i zlib1g-dev one can then check that both lib and include are present: $ dpkg -L zlib1g-dev

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Wed, Aug 20, 2008 at 12:02 AM, Hendrik Sattler [EMAIL PROTECTED] wrote: Am Dienstag, 19. August 2008 23:08:56 schrieb Mathieu Malaterre: On Tue, Aug 19, 2008 at 10:57 PM, Hendrik Sattler [EMAIL PROTECTED] wrote: Am Dienstag, 19. August 2008 22:24:12 schrieb Mathieu Malaterre: Did you

Re: [CMake] CMAKE_TOOLCHAIN_FILE / testing with 'wine'

2008-08-19 Thread Mathieu Malaterre
On Wed, Aug 20, 2008 at 12:16 AM, Hendrik Sattler [EMAIL PROTECTED] wrote: Am Dienstag, 19. August 2008 23:55:30 schrieb Mathieu Malaterre: On Tue, Aug 19, 2008 at 11:46 PM, Hendrik Sattler [EMAIL PROTECTED] wrote: Am Dienstag, 19. August 2008 23:17:18 schrieb Alexander Neundorf

Re: [CMake] cmake uppercase source file problem

2008-08-22 Thread Mathieu Malaterre
On Thu, Aug 21, 2008 at 7:56 AM, Ralf Habacker [EMAIL PROTECTED] wrote: Ralf Habacker schrieb: Hi, while working on a C++ project migrating from old Turbo C++ ide's I encountered a problem with uppercase extensions. Update/additional informations: I tried to use

[CMake] Bundle and Resources sub directory

2008-08-23 Thread Mathieu Malaterre
Just a quick question for you MacOSX guru. What if my runtime shared library need some external resources, such as an xml file, should I put that file in the Resources subdirectory of the bundle ? Ref: http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBundles/CFBundles.pdf I

[CMake] CPack / Reading regedit value for python installation

2008-08-24 Thread Mathieu Malaterre
Hi there, Has anyone tried to install a python module using cpack + nsis. I'd like to know how I can patch the nsis template to actually read value from the registry to figure out where is python installed on the target system. Thanks -- Mathieu ___

Re: [CMake] Building system triplet

2008-08-27 Thread Mathieu Malaterre
http://www.cmake.org/Wiki/CMake_Useful_Variables#System_.26_Compiler_Information I guess those should help: CMAKE_SYSTEM_NAME the short system name, e.g. Linux, FreeBSD or Windows CMAKE_SYSTEM_VERSION only the version part of CMAKE_SYSTEM CMAKE_SYSTEM_PROCESSOR the processor name

Re: [CMake] cpack, nsis and visual studio 9

2008-09-04 Thread Mathieu Malaterre
Boudewihn, I cannot see the following line in your code: INCLUDE(${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake) What option did you set ? On Thu, Sep 4, 2008 at 1:54 PM, Boudewijn Rempt [EMAIL PROTECTED] wrote: Hi, We're using Qt4, Visual Studio 9 and cmake 2.6 to create

[CMake] Fwd: CPack DEB generator: Installed-Size field

2008-09-08 Thread Mathieu Malaterre
Patch works for me on debian stable. Please consider. Credit goes to 0xd34df00d. Thanks -Mathieu -- Forwarded message -- From: 0xd34df00d [EMAIL PROTECTED] Date: Sat, Sep 6, 2008 at 11:41 PM Subject: Re: [CMake] CPack DEB generator: Installed-Size field To: Mathieu Malaterre

Re: [CMake] ctest puts LD_LIBRARY_PATH into environment impacts sub-runs of cmake/ctest

2008-09-08 Thread Mathieu Malaterre
On Mon, Sep 8, 2008 at 7:39 PM, Wheeler, Frederick W (GE, Research) [EMAIL PROTECTED] wrote: CMake List: I have a ctest/cmake issue where LD_LIBRARY_PATH must be set to run test execs produced by ctest but that LD_LIBRARY_PATH setting causes ctest/cmake to not run due to a library mismatch.

[CMake] UseCopyright.cmake module

2008-09-08 Thread Mathieu Malaterre
'lo there, I have written a very silly cmake module: http://gdcm.svn.sf.net/viewvc/gdcm/trunk/CMake/UseCopyright.cmake?view=markup ... # Handy macro to gather all copyright in a single file (to pass to cpack) MACRO(CREATE_COPYRIGHT_FILE name) # Always cleanup the file: FILE(WRITE ${name} )

Re: [CMake] Fwd: CPack DEB generator: Installed-Size field

2008-09-11 Thread Mathieu Malaterre
, Mathieu Malaterre [EMAIL PROTECTED] wrote: Patch works for me on debian stable. Please consider. Credit goes to 0xd34df00d. Thanks -Mathieu -- Forwarded message -- From: 0xd34df00d [EMAIL PROTECTED] Date: Sat, Sep 6, 2008 at 11:41 PM Subject: Re: [CMake] CPack DEB

[CMake] CMakeFiles/cmTryCompileExec.dir/usr/share/cmake-2.4/Modules/TestBigEndian.o : Permission denied

2008-09-17 Thread Mathieu Malaterre
I am getting this weird behavior on my linux debian stable: ... CMake Error: TestBigEndian Failed to run with output: /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build make[1]: Entering directory

Re: [CMake] CMakeFiles/cmTryCompileExec.dir/usr/share/cmake-2.4/Modules/TestBigEndian.o : Permission denied

2008-09-17 Thread Mathieu Malaterre
Weird... this does not happen anymore with cmake 2.6 It would be nice if I had a solution for the default cmake installation tough. Thanks! On Wed, Sep 17, 2008 at 11:27 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: I am getting this weird behavior on my linux debian stable: ... CMake

Re: [CMake] CMakeFiles/cmTryCompileExec.dir/usr/share/cmake-2.4/Modules/TestBigEndian.o : Permission denied

2008-09-17 Thread Mathieu Malaterre
Not sure this will ever happen to anyone again, but this partition was mounted with special option: /dev/mapper/lvm-storage /backupext3 noatime,nodev,nosuid,noexec 0 2 not a cmake bug thus. On Wed, Sep 17, 2008 at 11:35 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: Weird

[CMake] Simple GLOB Expression

2008-09-19 Thread Mathieu Malaterre
Hi there, I would like to write in a portable way the following cmake script: FILE(GLOB myvar ${fullpath}/*.DCM ${fullpath}/*.dcm ) How do I check that the target system is case sensitive or not ? Thanks, -- Mathieu ___ CMake mailing list

Re: [CMake] the switch to subversion?

2008-09-23 Thread Mathieu Malaterre
On Tue, Sep 23, 2008 at 6:03 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Mike Arthur wrote: On Tuesday 23 September 2008 16:19:05 Michael Wild wrote: git rocks! ;-) I agree but not everyone is happy using the console for their VCS. You move to git and you alienate said people. Subversion, on

Re: [CMake] the switch to subversion?

2008-09-23 Thread Mathieu Malaterre
On Tue, Sep 23, 2008 at 6:21 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Mathieu Malaterre wrote: svn 'external' links to repositories (not tested). Do not know what is the default behavior for branching... Yup, but there are issues with that. For one thing you can not do an atomic commit

[CMake] Automated CPACK_STRIP_FILES

2008-09-26 Thread Mathieu Malaterre
'lo, did anyone wrote a small cmake script to harvest all found executables and pass that list to CPACK_STRIP_FILES ? Thanks -- Mathieu ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] IF(COMMAND) to test INSTALL(EXPORT)

2008-09-30 Thread Mathieu Malaterre
Hi there, I would like to know if the target system support the INSTALL(EXPORT) signature. As far as I understand IF(COMMAND) only check the command but not the signature, right ? Thanks -- Mathieu ___ CMake mailing list CMake@cmake.org

Re: [CMake] Automated CPACK_STRIP_FILES

2008-10-02 Thread Mathieu Malaterre
On Thu, Oct 2, 2008 at 1:49 AM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Friday 26 September 2008, Mathieu Malaterre wrote: 'lo, did anyone wrote a small cmake script to harvest all found executables and pass that list to CPACK_STRIP_FILES ? You don't have to. With cmake 2.6, set

Re: [CMake] using gcov with cmake

2008-10-02 Thread Mathieu Malaterre
On Thu, Oct 2, 2008 at 2:33 PM, Ioan Calin Borcoman [EMAIL PROTECTED] wrote: Hi, I am trying to use gcov with cmake (I'm new to both gcov and cmake). My first attempt was like this: add_executable(hello main.cpp) set(CMAKE_CXX_FLAGS -fprofile-arcs -ftest-coverage)

Re: [CMake] Using cmake -E copy_directory with subversion

2008-10-07 Thread Mathieu Malaterre
On Tue, Oct 7, 2008 at 5:15 AM, Aurélien Vallée [EMAIL PROTECTED] wrote: Hello, I have come across a problem using CMake with SVN. I have a src/shaders directory containing files with extension .glsl. I need to create a rule to copy these files in my build directory, since my program will

Re: [CMake] compilation errors of a program that uses VTK and GDCM via CMake

2008-10-08 Thread Mathieu Malaterre
On Tue, Oct 7, 2008 at 8:21 PM, Stéphane CALANDE [EMAIL PROTECTED] wrote: Hi, I'm trying to compile a source c++ that uses VTK and GDCM libraries ( http://info.fundp.ac.be/~scalande/problem/gdcmorthoplanes.cxx if it is useful... ). I have installed the last versions of VTK and GDCM, and I

Re: [CMake] Problem with CMAKE_C_SOURCE_FILE_EXTENSIONS

2008-10-13 Thread Mathieu Malaterre
Does this work: SET_SOURCE_FILES_PROPERTIES(MyFile.myextension PROPERTIES LANGUAGE C) 2008/10/13 [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, I would like to compile a generated file (for example MyFile.myextension) with the C compiler. The SET(CMAKE_C_SOURCE_FILE_EXTENSIONS myextension)

[CMake] C# Support in CMake

2008-10-16 Thread Mathieu Malaterre
Hi there, I have started a limited support for C# in my project: https://gdcm.svn.sf.net/viewvc/gdcm/trunk/CMake/FindCSharp.cmake?view=markup https://gdcm.svn.sf.net/viewvc/gdcm/trunk/CMake/UseCSharp.cmake?view=markup Because this is already becoming tedious, I was wondering if anyone had

Re: [CMake] Adding support for new languages to CMake

2008-10-17 Thread Mathieu Malaterre
On Fri, Oct 17, 2008 at 7:54 AM, Werner Smekal [EMAIL PROTECTED] wrote: Hi Eric, Thanks for the pointers. Delphi and C#. Laughable no doubt but important to my current work. If anyone is aware of relevant prior art, please post links! just yesterday Mathieu Malaterre wrote that he

Re: [CMake] Initial C# support (was Re: Adding support for new languages to CMake)

2008-10-17 Thread Mathieu Malaterre
On Fri, Oct 17, 2008 at 11:24 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: just yesterday Mathieu Malaterre wrote that he is working on a c# implementation: http://www.mail-archive.com/cmake@cmake.org/msg16699.html Pretty funny :) Anyway I did contact (private email) Eric, and will try

Re: [CMake] Initial C# support (was Re: Adding support for new languages to CMake)

2008-10-17 Thread Mathieu Malaterre
Hi David, On Sat, Oct 18, 2008 at 12:27 AM, David Cole [EMAIL PROTECTED] wrote: I use ADD_CUSTOM_COMMAND to specify the exact C# compiler command line that I want... That's what I was saying, this is *very* cumbersome. I need to handle the optimization flag, the linking, specify whether this

Re: [CMake] Initial C# support (was Re: Adding support for new languages to CMake)

2008-10-20 Thread Mathieu Malaterre
On Fri, Oct 17, 2008 at 7:00 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Friday 17 October 2008, Mathieu Malaterre wrote: ... Quick question, here is how one create executable in C#: SET(CMAKE_CSharp_LINK_EXECUTABLE CMAKE_CSharp_COMPILER FLAGS OBJECTS -out:TARGET.exe

Re: [CMake] Initial C# support (was Re: Adding support for new languages to CMake)

2008-10-20 Thread Mathieu Malaterre
Just FYI, On Mon, Oct 20, 2008 at 11:30 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Fri, Oct 17, 2008 at 7:00 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Friday 17 October 2008, Mathieu Malaterre wrote: ... Quick question, here is how one create executable in C#: SET

Re: [CMake] mixed java/c project.

2008-10-20 Thread Mathieu Malaterre
On Sat, Oct 18, 2008 at 7:48 PM, George Neill [EMAIL PROTECTED] wrote: Hi All, On Sat, Oct 18, 2008 at 2:01 AM, George Neill [EMAIL PROTECTED] wrote: Hi all, I am trying to convert a project to cmake which has mixed java and c compilations. Here's the project layout, project/ -

Re: [CMake] Add external static libraries / ar-archives to a build.

2008-10-21 Thread Mathieu Malaterre
On Tue, Oct 21, 2008 at 10:06 AM, Martin Köhler [EMAIL PROTECTED] wrote: Hi, I'm working on a library to solve sparse linear systems. All basic vector operations are realized by using the BLAS. The FindBLAS works fine but most of the blas implementations are provided as an ar-archive

Re: [CMake] Add external static libraries / ar-archives to a build.

2008-10-21 Thread Mathieu Malaterre
On Tue, Oct 21, 2008 at 10:54 AM, Paul Harris [EMAIL PROTECTED] wrote: snip cmake -DBLAS=/path/to/lib/libgoto.a PATH_TO_SOURCE If I link the lib manually I enter gcc -o output myfile.c /path/to/lib/libgoto.a FIND_PACKAGE(BLAS REQUIRED) ADD_EXECUTABLE(output myfile.c)

Re: [CMake] Using cache in -P scripts?

2008-10-23 Thread Mathieu Malaterre
On Thu, Oct 23, 2008 at 5:53 AM, Abe Stephens [EMAIL PROTECTED] wrote: Hi, Is it possible for a script executed during build (via custom command of cmake -P) to load and read values from the project's CMakeCache.txt file? I tried using load_cache in the script, but apparently that isn't

Re: [CMake] Run of cmake showing the problem...

2008-10-23 Thread Mathieu Malaterre
-wild guess- Linux is case sensitive, HFS+ is not AFAIK On Thu, Oct 23, 2008 at 9:55 PM, Dick Munroe [EMAIL PROTECTED] wrote: Sorry, didn't include this in the previous message: [EMAIL PROTECTED] ESPlanner Executables-cmake]$ cmake -G 'Unix Makefiles' CMakeLists.txt -- The C compiler

Re: [CMake] problem to install CMake with VTK_WRAP_JAVA ON

2008-10-27 Thread Mathieu Malaterre
On Mon, Oct 27, 2008 at 3:30 PM, Stéphane CALANDE [EMAIL PROTECTED] wrote: Hi, I'm trying to compile VTK 5.2 with VTK_WRAP_JAVA ON. I generate the makefile with CMake, but when I compile, I have an error at 43% of the installation. Linking CXX shared library ../bin/libvtkRenderingJava.dll

Re: [CMake] Setting environment before running a test

2008-10-29 Thread Mathieu Malaterre
On Wed, Oct 29, 2008 at 2:45 PM, Judicaël Bedouet [EMAIL PROTECTED] wrote: Hello, I have a test which must be executed in different environments. Test results depend on values of environment variables. Is there a way to easily set environment variables before running a test ? Somewhat like

Re: [CMake] Python coverage submission to CDash via UsePythonTest.cmake

2008-10-30 Thread Mathieu Malaterre
Hi Nicholas, On Thu, Oct 30, 2008 at 6:47 AM, Nicholas Yue [EMAIL PROTECTED] wrote: Hi, Is there a way to submit python coverage information via the UsePythonTest.cmake scripts? Not sure a *lot* of people actually use that :) I would like to find out how it can be done. My coverage

[CMake] C# support

2008-11-03 Thread Mathieu Malaterre
'lo, I have added a bug report for C# support in CMake. http://vtk.org/Bug/view.php?id=7918 This will serve mostly to see what is the interest in the community. I have added the link to the minimal cmake-modules I wrote: http://gdcm.svn.sourceforge.net/viewvc/gdcm/Sandbox/CMakeCSharp/

Re: [CMake] Python coverage submission to CDash via UsePythonTest.cmake

2008-11-03 Thread Mathieu Malaterre
On Fri, Oct 31, 2008 at 4:37 AM, Nicholas Yue [EMAIL PROTECTED] wrote: Mathieu Malaterre wrote: I used info from: http://www.vtk.org/Wiki/CTest:Coverage#Python_Trace.py_Coverage_In_CTest As mentionned on the 'Note' section, the coverage is not compatible with a gcov type coverage

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

2008-11-04 Thread Mathieu Malaterre
On Mon, Nov 3, 2008 at 4:45 PM, Eric Noulard [EMAIL PROTECTED] wrote: 2008/11/1 Eric Noulard [EMAIL PROTECTED]: 2008/11/1 David Graf [EMAIL PROTECTED]: Currently in my project, I provide all dependencies for DEB packaging in CPack by setting the variable CPACK_DEBIAN_PACKAGE_DEPENDS. Is there

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

2008-11-04 Thread Mathieu Malaterre
On Tue, Nov 4, 2008 at 12:43 PM, Mike Arthur [EMAIL PROTECTED] wrote: On Tuesday 04 November 2008 11:36:12 David Graf wrote: How exactly to you use dpkg-shlibdeps? Because I get the following bug: dpkg-shlibdeps: failure: cannot read debian/control: No such file or directory You really

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

2008-11-04 Thread Mathieu Malaterre
On Tue, Nov 4, 2008 at 8:16 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Tuesday 04 November 2008, Mathieu Malaterre wrote: On Tue, Nov 4, 2008 at 12:43 PM, Mike Arthur [EMAIL PROTECTED] wrote: On Tuesday 04 November 2008 11:36:12 David Graf wrote: How exactly to you use dpkg

Re: [CMake] FILE(TO_NATIVE_PATH ) problem ?

2008-11-04 Thread Mathieu Malaterre
On Wed, Nov 5, 2008 at 12:25 AM, Alexander Neundorf [EMAIL PROTECTED] wrote: Hi, shouldn't FILE(TO_NATIVE_PATH ) on UNIX replave the ; used by cmake as separators with : used for most environment variables as separators ? Currently it doesn't and I wonder how I should transform a cmake list

Re: [CMake] Where is ccmake?

2008-11-14 Thread Mathieu Malaterre
I believe during the boostrap cmake reported it could not find the header files for ncurses on your system.In which case it does not build the curses interface to cmake. sudo apt-get install libncurses5-dev on a debian system should solve your issue. 2cts On Fri, Nov 14, 2008 at 3:11 PM,

Re: [CMake] Create library and executable with libraries but no source files

2008-11-14 Thread Mathieu Malaterre
To build you executable you need at least a 'main' function. Did you place that file into one of your libs ? On Fri, Nov 14, 2008 at 3:05 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I would like to create a library (static or shared) and an executable with only libraries (static) but

[CMake] INSTALL(FILES ... ) and $(OutDir)

2008-11-18 Thread Mathieu Malaterre
Hi there, I am confused on how to use install(files...) with VS 2008 IDE. Here is what I wrote: cmake ADD_CUSTOM_COMMAND( OUTPUT ${GDCM_LIBRARY_DIR}/gdcm_csharp.dll COMMAND ${CMAKE_CSHARP_COMPILER} ARGS /t:library /out:${GDCM_LIBRARY_DIR}/gdcm_csharp.dll *.cs WORKING_DIRECTORY

  1   2   3   4   5   >