Re: [CMake] UseLATEX.cmake adding dependencies to document?

2007-03-28 Thread Eric Noulard
2007/3/28, Martin Matusiak <[EMAIL PROTECTED]>: So I'm trying to use UseLATEX.cmake to build a document, I have some images and they are handled okay. But I also have some code samples that I import into my document. How do I declare these as additional dependencies to the document? I had the s

Re: [CMake] UseLATEX.cmake adding dependencies to document?

2007-03-29 Thread Eric Noulard
2007/3/28, Martin Matusiak <[EMAIL PROTECTED]>: Thanks a lot, Eric! You're welcome :)) > I don't know but I observe the same behavior > (full rebuild on each make) but currently I don't really care even if it may > be a bit CPU consuming :)) I suppose so, but since we're using _make_ to do

Re: [CMake] With gcc is __FILE__ with full path. Is there a workaround?

2007-04-02 Thread Eric Noulard
2007/4/2, Manfred Rebentisch <[EMAIL PROTECTED]>: Thank you Filipe, Am Sonntag, 1. April 2007 23:20 schrieb Filipe Sousa: > > what about using basename()? > I do use a Macro: #define CP_PREFIX(varname, functionname) \ static const char* varname = __FILE__ ":" functionname and use

Re: [CMake] [CPack] Creating .deb package

2007-04-11 Thread Eric Noulard
2007/4/11, Mathieu Malaterre <[EMAIL PROTECTED]>: Hello there, I am currently looking to create .deb (debian package) for a project using CMake. As far as I understand I have two options: 1. Use dh_make and follow a couple of steps so that dh_make(*) will drive the build of the package, or 2

Re: [CMake] [CPack] CPackConfig.cmake vs CPackSourceConfig.cmake

2007-04-13 Thread Eric Noulard
2007/4/13, Mathieu Malaterre <[EMAIL PROTECTED]>: Hello, I have the following custom target: ADD_CUSTOM_TARGET(data_tgz COMMAND cpack -G TGZ --config CPackConfig.cmake COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/${CPACK_PACKAGE_FILE_NAME}.tar.gz ${CMAKE_BINARY_DIR}/data.tar.gz )

Re: [CMake] Redirect standard output to file

2007-04-13 Thread Eric Noulard
2007/4/13, Mathieu Malaterre <[EMAIL PROTECTED]>: 'lo I am convinced this is an easy one, but I could not figure out how to redirect standard output (from a process) into a file. Basically I would need to run EXECUTE_PROCESS from within an ADD_CUSTOM_COMMAND (run the process and capture output

Re: [CMake] `cmake -P cmake_install.cmake` vs `make install`

2007-04-17 Thread Eric Noulard
2007/4/16, Mathieu Malaterre <[EMAIL PROTECTED]>: 'lo I am trying to figure out what is the slight difference between : make install and cmake -P cmake_install.cmake After reading the Makefile I need to run the `preinstall` target. So my question is how do I do that ? Right now I ha

Re: [CMake] [UseDebian.cmake] Creating deb package

2007-04-17 Thread Eric Noulard
2007/4/16, Mathieu Malaterre <[EMAIL PROTECTED]>: 'lo You can find an early draft here: http://gdcm.svn.sourceforge.net/viewvc/*checkout*/gdcm/CMake/UseDebian.cmake You will need also: http://gdcm.svn.sourceforge.net/viewvc/gdcm/CMake/FindMd5sum.cmake (until cmake -E md5sum is approved) Please

Re: [CMake] executing make install

2007-04-20 Thread Eric Noulard
2007/4/20, Ajay Divekar <[EMAIL PROTECTED]>: I have top level directory and then I have sub directories. The way my project is specified, I need to execute make install and use those libraries and include files for my next sub directory build . Cmake currently does not make install before it goes

Re: [CMake] re Find_Package

2007-04-20 Thread Eric Noulard
2007/4/20, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: module names are all listed in the modules directory. How do I figure out what the package names to use with FIND_PACKAGE are? If the file is named FindXXyy.cmake you should use FIND_PACKAGE(XXyy) unless I'm wrong this case sensitivity is ta

Re: [CMake] Thoughts on Cross-compiling with CMake

2007-05-01 Thread Eric Noulard
2007/4/30, Alexander Neundorf <[EMAIL PROTECTED]>: On Monday 30 April 2007 12:51, Bernhard Sputh wrote: > Hi Alexander, ... > Thank You for working on this. I have another suggestion related to > cross-compilation. It should be possible to provide Compiler / Environment > scripts with ones projec

Re: [CMake] Problems with add_definitions()

2007-05-01 Thread Eric Noulard
2007/5/1, Christian Ehrlicher <[EMAIL PROTECTED]>: Hi, I want to build a static and a dynamic lib from the same sources. It's no problem until we need to export some functions :) // this defines MAKE_SOLID_LIB (with set_target_properties) so we can use dllexport kde4_add_library(solid SHARED ${

Re: [CMake] CMake for Opteron AMD

2007-05-04 Thread Eric Noulard
2007/5/4, Rahul Kulkarni <[EMAIL PROTECTED]>: Hello Bill, Thanks for the quick response. But is it a good idea to use 32-bit version on 64-bit system? Would it cause any problems to the applications if I build them with 32-bit CMake? I don't know for Windows platform but I did use 32bits CMake

Re: [CMake] Creating project distribution using cpack.

2007-05-08 Thread Eric Noulard
2007/5/8, Bill Hoffman <[EMAIL PROTECTED]>: Rob Mathews wrote: > That's easy. In CMake.cxx, in or around line 2310-2317 > > /* > I don't need this and CMake can't find it (even though I installed > correctly). > if (!cmSystemTools::FileExists(this->CPackCommand.c_str())) > { > cmSystemT

Re: [CMake] Creating project distribution using cpack.

2007-05-08 Thread Eric Noulard
2007/5/8, Bill Hoffman <[EMAIL PROTECTED]>: Eric Noulard wrote: > Personnally I don't want to pay for something I don't need or simply > wan't. > > CMake is a perfect tool on its own > As far as I know CPack and CTest depends on CMake but why >

Re: [CMake] Output other then to Makefile

2007-05-09 Thread Eric Noulard
2007/5/9, Mielcarek, Donn <[EMAIL PROTECTED]>: I thought of that, but seems to be more pain then it's worth (also, other people here didn't like the idea). Now I'm thinking of modifying the cmake source to make it do what I want. I believe I would have to modify 3 things: 1) the name of

Re: [CMake] Output other then to Makefile

2007-05-10 Thread Eric Noulard
2007/5/10, Mielcarek, Donn <[EMAIL PROTECTED]>: We create binary releases for many different Linux distributions. The guy who creates the releases compiles them all from the same source tree, compiling on different machines at the same time! So all the Makefiles must be separate. yep good

Re: [CMake] configuration input to cmake

2007-05-12 Thread Eric Noulard
2007/5/12, Jun Sun <[EMAIL PROTECTED]>: On Fri, May 11, 2007 at 01:38:26PM -0400, Bill Hoffman wrote: > Guilherme Balena Versiani wrote: > > > > > >Jun Sun escreveu: > >>My build process involves a configuration stage. It roughly looks like > >>this: > >> > >>* Generate cmakefile.inc and config.h

[CMake] Eclipse CDT and CMake

2007-05-12 Thread Eric Noulard
2007/5/11, Mike Jackson <[EMAIL PROTECTED]>: I actually use Eclipse with the CDT plugin to do VTK/Qt C++ development on the Mac. Combined with CMake and a few changes to the default Eclipse settings is a great combination Hi Mike, Would you be kind enough to add a Wiki entry describing how y

Re: [CMake] Distinguishing processor type for -march -mtune arguments

2007-05-14 Thread Eric Noulard
2007/5/14, James Bigler <[EMAIL PROTECTED]>: Is there a way to distinguish processor type more than what CMAKE_SYSTEM_PROCESSOR tells me? Currently I can't tell the difference between a pentium M and pentium 4 (both read i686) and various 64 bit architectures such as opteron versus pentium (both

Re: [CMake] How to specify target specific CPPFLAGS or CFLAGS?

2007-05-15 Thread Eric Noulard
2007/5/15, Clark J. Wang <[EMAIL PROTECTED]>: I have a C source file `foo.c' and I want to produce 2 executables like this: $ gcc -DFLAG_1 -o foo_1 foo.c $ gcc -DFLAG_2 -o foo_2 foo.c How should I write the CMake rules? RTFM :)) May be you can try ADD_EXECUTABLE(foo_1 foo.c) SET_TARGET_PROPE

Re: [CMake] How to specify target specific CPPFLAGS or CFLAGS?

2007-05-15 Thread Eric Noulard
2007/5/15, Clark J. Wang <[EMAIL PROTECTED]>: Thanks, Eric. The FM is not as easy to understand as the FMs of autotools :) I prefer TexInfo format manuals. It's much readable than man pages but I find no TexInfo manuals in CMake's package :( As far as I am concerned manual is ALWAYS a pain to

Re: [CMake] Differentiating between FreeBSD and Linuxs

2007-05-16 Thread Eric Noulard
2007/5/16, Ajay Divekar <[EMAIL PROTECTED]>: I was trying to differentiate between FreeBSD and Linux's and found that by using CMAKE_SYSTEM_NAME variable I will be able to do that. I had if (CMAKE_SYSTEM_NAME MATCHES Linux) SET(...) ELSE(CMAKE_SYSTEM_NAME MATCHES Linux) SET(...) ENDIF(CMAKE_

Re: [CMake] Differentiating between FreeBSD and Linuxs

2007-05-16 Thread Eric Noulard
2007/5/16, Ajay Divekar <[EMAIL PROTECTED]>: I was trying to use this tag in a script which was called using the install script command. Guess these tags are not available there. You must be right. You may try the attached system.cmake script with cmake -P system.cmake this should work. --

Re: [CMake] Header only targets, solution folders and shared settings?

2007-05-20 Thread Eric Noulard
2007/5/20, Kenny Erleben <[EMAIL PROTECTED]>: Hi, I am trying to convert the OpenTissue open source project (www.opentissue.org) to CMake. I got four problems that I do not know how to deal with: i) How to create a header only target(no source files at all) in CMake just for class browsing?

Re: [CMake] CPack Questions and Issues

2007-05-20 Thread Eric Noulard
2007/5/20, Stuart Herring <[EMAIL PROTECTED]>: I've been experimenting with CPack, and I've come up with the following questions and issues - * Is there a way of producing multiple packages (one for each Component specified in INSTALL) in a single project? I ended up having to write a custom t

Re: [CMake] Header only targets, solution folders and shared settings?

2007-05-21 Thread Eric Noulard
2007/5/21, Kenny Erleben <[EMAIL PROTECTED]>: Eric Noulard skrev: > 2007/5/20, Kenny Erleben <[EMAIL PROTECTED]>: > >> iii) How to make several executables share the same compiler- and >> linker- flags? > > you may define a CMake variable > SET(MYC

Re: [CMake] Howto say cmake to copy files in the builddir

2007-05-21 Thread Eric Noulard
2007/5/21, Matthias Fechner <[EMAIL PROTECTED]>: Hi, I try to use cmake to compile my masterthesis which will be written in LaTeX. I checked the wiki page and found the macro UseLATEX.cmake. Now I have the following problem: The format file (.sty file) which my masterthesis uses is in the direct

Re: [CMake] Howto say cmake to copy files in the builddir

2007-05-21 Thread Eric Noulard
2007/5/21, Matthias Fechner <[EMAIL PROTECTED]>: Hello Eric, * Eric Noulard <[EMAIL PROTECTED]> [21-05-07 14:10]: > I think you should add your style files as INPUTS > since INPUTS may take a list of file. that i tried too. If i put the file (with or without directory) to t

Re: [CMake] Multiple SET_SOURCE_FILES_PROPERTIES on one file

2007-05-31 Thread Eric Noulard
2007/5/31, Mathieu Malaterre <[EMAIL PROTECTED]>: Hello, I'd like to be able to do something like this in cmake (*): ... SET_SOURCE_FILES_PROPERTIES(foo.c COMPILE_FLAGS -DVERSION1 ) ADD_EXECUTABLE(foo_v1 foo.c) SET_SOURCE_FILES_PROPERTIES(foo.c COMPILE_FLAGS -DVERSION2 ) ADD_EXECUTABLE(f

Re: [CMake] Setting properties on all targets in one line

2007-05-31 Thread Eric Noulard
2007/5/31, Clinton Chau <[EMAIL PROTECTED]>: > > But I can't figure out a way of applying this prefix to all targets. > > You can also set EXECUTABLE_OUTPUT_PATH , which applies to all > executables "below" this point. Does this help ? Alex, thanks for replying. It's not ideal for us to use EXEC

Re: [CMake] Setting properties on all targets in one line

2007-06-01 Thread Eric Noulard
2007/6/1, Brandon Van Every <[EMAIL PROTECTED]>: On 5/31/07, Eric Noulard <[EMAIL PROTECTED]> wrote: > 2007/5/31, Clinton Chau <[EMAIL PROTECTED]>: > > Alex, thanks for replying. It's not ideal for us to use EXECUTABLE_ AND LIBRARY_OUTPUT_PATH, just because we w

Re: [CMake] Makefile includes

2007-06-04 Thread Eric Noulard
2007/6/4, John Donovan <[EMAIL PROTECTED]>: We're using a 3rd-party build system that is build around GNU make and CodeWarrior *shudder*, and they have provided a fairly chunky file that needs to be included at the top of the makefile, e.g.: include $(SOME_ROOT_DIR)/build/buildtools/commondefs I

Re: [CMake] Cmake with Eclipse

2007-06-05 Thread Eric Noulard
2007/6/5, Joachim Zettler <[EMAIL PROTECTED]>: Dear all, I want to integrate cmake with the ECLIPSE IDE and cdt. To be honest I am a beginner and therefore I have not really an idea on how to handle it. I use MinGW with WinXP to develop under Windows. It would be very nice if somebody can help

Re: [CMake] Cmake with Eclipse

2007-06-05 Thread Eric Noulard
2007/6/5, Joachim Zettler <[EMAIL PROTECTED]>: Hi, here is the error i get in eclipse. Maybe it has to do with the "all" but i am absolutely not shure what this is :( Concerning cmake at all. If you execute mingw32-make -f Makefile directly from the command line in the build directory then every

Re: [CMake] Circular Dependancy?

2007-06-05 Thread Eric Noulard
2007/6/5, Mike Jackson <[EMAIL PROTECTED]>: I was updating some of my CMakeLists.txt files to use the ADD_SUBDIRECTORY command instead of the SUBDIRS command and now I am getting the following when I build: make -C /Users/mjackson/Task_7/MXA_Workspace/PFImport/Build all -- Configuring done -- Ge

Re: [CMake] Circular Dependancy?

2007-06-05 Thread Eric Noulard
2007/6/5, David Cole <[EMAIL PROTECTED]>: The thing that's strange about it is the second arg to ADD_SUBDIRECTORY. That should be a binary directory that is used by no other ADD_SUBDIRECTORY call and it should be different than the main PROJECT_BINARY_DIR as well... I didn't know thta (in fact

Re: [CMake] Circular Dependancy?

2007-06-05 Thread Eric Noulard
IR}/ MXADataModel) Then cmake and make both run without complaints. -- Mike Jackson Senior Research Engineer Innovative Management & Technology Services On Jun 5, 2007, at 1:47 PM, Eric Noulard wrote: > 2007/6/5, David Cole <[EMAIL PROTECTED]>: >> The thing that'

Re: [CMake] Circular Dependancy?

2007-06-06 Thread Eric Noulard
2007/6/6, Mike Jackson <[EMAIL PROTECTED]>: All correct. Basically I have a project (MXADataModel) that creates a library. Then I have another project that uses that library. I want to make sure that the library is built FIRST and built into the bin directory of the PFImport Project. I do not wan

Re: Re: [CMake] moving project folder

2007-06-08 Thread Eric Noulard
2007/6/8, Brandon Van Every <[EMAIL PROTECTED]>: On 6/8/07, abhijeet mhatre <[EMAIL PROTECTED]> wrote: > > Suppose if I want distribute my project with the source code, > CMake files and all, how do I do this? I dont mind regenerating > build files using "cmake ." but I dont want to edit the CMak

Re: [CMake] Is CMake powerful enough?

2007-06-08 Thread Eric Noulard
Hi Oliver, I think you already get a full set of valuable answer to your question. And I would invite you as Bill said to prototype CMake usage on real life subset of your project. I would add some comments about the following: 2007/6/7, Oliver Kullmann <[EMAIL PROTECTED]>: It appears now that

Re: [CMake] Creating static executables

2007-06-08 Thread Eric Noulard
2007/6/8, Ajay Divekar <[EMAIL PROTECTED]>: I tried your suggestion by setting SET_TARGET_PROPERTIES (bbb PROPERTIES LINK_FLAGS "-static -lc -lm -L/usr/local/lib/") The result is the same i.e. the executable generated is not completely static. Still has shared library dependencies. The output g

Re: [CMake] Is CMake powerful enough?

2007-06-08 Thread Eric Noulard
2007/6/9, Oliver Kullmann <[EMAIL PROTECTED]>: Eric Noulard wrote: > I think, that with some amount of time (not so much) for defining > your own WHATEVER_EXECUTE CMake MACROs > you'll get the power of what you add before > with shell running in Makefile. Should be

Re: [CMake] how to use a cross linker

2007-06-13 Thread Eric Noulard
2007/6/13, Jun Sun <[EMAIL PROTECTED]>: I am very interested in the answer too. In general, I like to know if cmake can support corss compiling and cross linking. I am new to cmake. I assume if cmake has the ablility to specify the compiler and linker, at least the problem is half-solved. Ef

Re: [CMake] Re: add_definitions & "string" values

2007-06-21 Thread Eric Noulard
2007/6/21, Welter Luigi Silva <[EMAIL PROTECTED]>: Hi, I didn't figure out how to solve the problem below. Could someone tell me any solution for that or where I can read about handling of literal strings in Cmake scripts, please? thanks, Welter You've already got answers on the list from Alexa

Re: [CMake] Cmake with Eclipse

2007-06-21 Thread Eric Noulard
2007/6/21, Alexander Neundorf <[EMAIL PROTECTED]>: Hi, CMake cvs now makes adding generators for IDEs which work with external makefiles easier. There is a new class cmExternalMakefileProjectGenerator, which can be subclassed and be used to create project files for your prefered IDE. This is cur

Re: [CMake] Including .h files in Visual Studio projects

2007-07-02 Thread Eric Noulard
2007/7/2, Iain Hull <[EMAIL PROTECTED]>: Michael Hammer <[EMAIL PROTECTED]>: > add_library(foo foo.cpp foo.h) > > that it should create something like the following > > c++ -c foo.cpp > c++ -c foo.h -- (that won't work) ;) > c++ foo.cpp foo.h foo I regularly include my header fi

Re: [CMake] Deb and RPM package generation modules

2007-07-04 Thread Eric Noulard
2007/7/4, Mehdi Rabah <[EMAIL PROTECTED]>: Hi everyone, In case someone is interested in linux package generation within cmake, I've started to improve the existing scripts (http://www.cmake.org/Wiki/CMakeUserUseRPMTools and http://www.cmake.org/Wiki/CMakeUserUseDebian) to make both debian a

Re: [CMake] Help Please-Link Library

2007-07-16 Thread Eric Noulard
2007/7/16, Janny Dong <[EMAIL PROTECTED]>: Hi all, I am using Cmake to build MS Visual C++ program because I am using VTK. I'd like to link to another thirty-party library in my project. The library is already installed on my machine by running the executable setup file . In a project not built

Re: [CMake] Help Please-Link Library

2007-07-16 Thread Eric Noulard
2007/7/17, Bill Hoffman <[EMAIL PROTECTED]>: Eric Noulard wrote: > > If your lib is not in the lib search path then you need to add the > appropriate > PATH using the LINK_DIRECTORIES macro > It is much better to add the full path to the library, and use FIND_LIBRARY.

Re: [CMake] Why can't I change bug #4912 ?

2007-07-23 Thread Eric Noulard
2007/7/21, Bill Hoffman <[EMAIL PROTECTED]>: Alan W. Irwin wrote: > > Have a lot of different spammers actually established accounts, logged in > and persistently put spam in a lot of different bug reports? Or is this > some rare or hypothetical possibility that you are trying to guard > against

[CMake] CPack for making .deb files?

2007-07-29 Thread Eric Noulard
2007/7/30, Christian Convey <[EMAIL PROTECTED]>: > > Now that I know CPack 2.6 is supposed to produce .deb files, I've > decided not to go crazy trying to produce a version of DpkgDeb that > I'm satisfied with. Where this information comes from? I'm interested in this and I monitor the list messag

Re: [CMake] cmake support Eclipse

2007-07-31 Thread Eric Noulard
2007/7/31, Brandon Van Every <[EMAIL PROTECTED]>: > On 7/30/07, Andy Dingfelder <[EMAIL PROTECTED]> wrote: > > > Building java apps it typically done using Maven or Ant, and I see no > > need to re-invent the wheel and use cmake to do that. > > I do. If you want Eclipse developer mindshare, then u

Re: [CMake] Eclipse CMake Generator - Pre-Alpha version

2007-07-31 Thread Eric Noulard
2007/7/31, Miguel A. Figueroa-Villanueva <[EMAIL PROTECTED]>: > Hello Everyone, > [...] > > So far, I have modified only cmake.cxx to add the extra generator > handle [this->AddExtraGenerator(...)], the CMakeLists.txt file to add > the two new files, and the two new files themselves: > > Source/c

Re: [CMake] cmake support Eclipse CDT

2007-07-31 Thread Eric Noulard
2007/7/31, Brandon Van Every <[EMAIL PROTECTED]>: > On 7/30/07, Andreas Pakulat <[EMAIL PROTECTED]> wrote: > > Of course CDT still uses the java-written eclipse > > platform sdk, but it doesn't have anything else to do with Java. > > So you're writing a plugin in Java to integrate CMake with Eclips

Re: [CMake] Eclipse CMake Generator - Pre-Alpha version

2007-07-31 Thread Eric Noulard
2007/7/31, Miguel A. Figueroa-Villanueva <[EMAIL PROTECTED]>: > On 7/31/07, Eric Noulard wrote: > > 2007/7/31, Miguel A. Figueroa-Villanueva: > > Again I may help. > > I may provide you my "hand-made" CDT projects files for > > CMake enabled open-sour

Re: [CMake] cmake support Eclipse

2007-07-31 Thread Eric Noulard
2007/7/31, Brandon Van Every <[EMAIL PROTECTED]>: > On 7/31/07, Eric Noulard <[EMAIL PROTECTED]> wrote: > > 2007/7/31, Brandon Van Every <[EMAIL PROTECTED]>: > > > > > and CMake > > > doesn't figure out how to do Java, then CMake will lose i

[CMake] merging autotool project and qt project

2007-07-31 Thread Eric Noulard
Did forget to cc the list... -- Forwarded message -- From: Eric Noulard <[EMAIL PROTECTED]> Date: 1 août 2007 08:48 Subject: Re: [CMake] merging autotool project and qt project To: Marie-Christine Vallet <[EMAIL PROTECTED]> 2007/7/31, Marie-Christine Vallet <[

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Eric Noulard
2007/7/31, Miguel A. Figueroa-Villanueva <[EMAIL PROTECTED]>: > > Attached is the file. I changed some variable names and other minor > things, but I'm not certain it follows all the coding standards. I > leave that to your inspection, although please point out whatever you > find that you needed t

Re: [CMake] *Updated* Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Eric Noulard
2007/8/1, Miguel A. Figueroa-Villanueva <[EMAIL PROTECTED]>: > Update patch and source. May be you can upload your patch on the Wiki when you update it? http://www.cmake.org/Wiki/Eclipse_CDT4_Generator_Development -- Erk ___ CMake mailing list CMake@cm

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Eric Noulard
2007/8/1, Eric Noulard <[EMAIL PROTECTED]>: > 2007/7/31, Miguel A. Figueroa-Villanueva <[EMAIL PROTECTED]>: > > > > Attached is the file. I changed some variable names and other minor > > things, but I'm not certain it follows all the coding standards. I >

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Eric Noulard
2007/8/1, Alexander Neundorf <[EMAIL PROTECTED]>: > On Wednesday 01 August 2007 07:56, Miguel A. Figueroa-Villanueva wrote: > > On 8/1/07, Eric Noulard wrote: > ... > > > I've tried to "manually" activate Team menu on this > > > parti

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-02 Thread Eric Noulard
2007/8/1, Andy Dingfelder <[EMAIL PROTECTED]>: > one small point I would add... > > Instead of spending time getting cvs to integrate, I suspect more > eclipse folks prefer Subversion, which works very well in eclipse. I'd rather use Subversion or even git too :)) The fact is my test case is on a

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-02 Thread Eric Noulard
2007/8/2, Alexander Neundorf <[EMAIL PROTECTED]>: > On Thursday 02 August 2007 05:34, Eric Noulard wrote: > > Moreover I think in-source built should be supported by the CDT Generator > > in order to be consistent with other generator. [...] > > Yes, in-source bu

Re: [CMake] RPM for CPack?

2007-08-02 Thread Eric Noulard
2007/8/2, Christian Convey <[EMAIL PROTECTED]>: > I've coded my own solution for now to get Debians built, but was > hoping to move to CPack 2.6 once it's released. > > But now I'm feeling some pressure to build RPM package as well. The full packager pressure :)) > Does anyone know: does CPack 2.

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-02 Thread Eric Noulard
2007/8/2, Mike Jackson <[EMAIL PROTECTED]>: > On Aug 2, 2007, at 5:34 AM, Eric Noulard wrote: > > > Eclipse assume the top-level project folder MUST be under version > > control > > which is not the case with the current approach of the Eclipse CDT > >

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-02 Thread Eric Noulard
2007/8/2, Miguel A. Figueroa-Villanueva <[EMAIL PROTECTED]>: > > I'm not sure where the problem is, but I'm certainly developing a > love/hate relationship with eclipse ;) On the one hand it is a great > tool, although a memory hog, that has quite a nice interface and great > flexibility. I even u

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-02 Thread Eric Noulard
2007/8/2, Mike Jackson <[EMAIL PROTECTED]>: > On Aug 2, 2007, at 10:39 AM, Eric Noulard wrote: > > When using out-of-source build with CMake > > (including Visual Studio) the project file is generated in the > > Build Tree > > not the Source Tree. > > LIke

Re: [CMake] *Updated* Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-03 Thread Eric Noulard
2007/8/1, Alexander Neundorf <[EMAIL PROTECTED]>: > On Wednesday 01 August 2007 04:12, Miguel A. Figueroa-Villanueva wrote: > > Update patch and source. > > I committed it to cvs with only minor cosmetical changes. Thanks you for that. Would it be possible to have "some" downloadable CMake CVS ve

Fwd: [CMake] MSVC project names

2007-08-03 Thread Eric Noulard
Another Forget cc CMake-ML... Complement: When using other CMake macro you should use the primary name e.g: TARGET_LINK_LIBRARY(gammu-exe Gammu-Lib) -- Forwarded message -- From: Eric Noulard <[EMAIL PROTECTED]> Date: 3 août 2007 10:23 Subject: Re: [CMake] MSVC project na

Re: [CMake] *Updated* Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-03 Thread Eric Noulard
2007/8/3, Bill Hoffman <[EMAIL PROTECTED]>: > > > > I think binary snapshot may be useful to widen testing? > > I may contribute intel linux built if you find it both > > feasible and useful. > > > I will see what I can setup for this. The build process for the > releases is automated, I was sur

Re: [CMake] RPM for CPack?

2007-08-03 Thread Eric Noulard
2007/8/3, Christian Convey <[EMAIL PROTECTED]>: > On 8/2/07, Eric Noulard <[EMAIL PROTECTED]> wrote: > > If you have trouble with the macro do not hesitate to ask for > > explanation and/or send patched version either on the list or the wiki > > Thanks. Could yo

Re: [CMake] RPM for CPack?

2007-08-03 Thread Eric Noulard
2007/8/3, Christian Convey <[EMAIL PROTECTED]>: > On 8/3/07, Eric Noulard <[EMAIL PROTECTED]> wrote: > > > But when I do this, I don't find any files named > > > CPackSourceConfig.cmake in my build directory ('x'). > > > > Did you &

Re: [CMake] RPM for CPack?

2007-08-03 Thread Eric Noulard
2007/8/3, Christian Convey <[EMAIL PROTECTED]>: > On 8/3/07, Eric Noulard <[EMAIL PROTECTED]> wrote: Stange enough your guy doesn't want to improve its own software distribution... > But anyway, the net effect is that I need to do as much outside of his > source tree

Re: [CMake] *Updated* Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-03 Thread Eric Noulard
2007/8/3, Bill Hoffman <[EMAIL PROTECTED]>: > > > > That would be a good idea. > > This way anybody wanting to test a binary > > snapshot build will be able to do it. > > > So, I don't want to fill the disk with these things. Of course your are right. > Should I just remove the previous night, o

Re: [CMake] How to request features?

2007-08-03 Thread Eric Noulard
2007/8/3, Alexander Neundorf <[EMAIL PROTECTED]>: > On Friday 03 August 2007 09:49, Christian Convey wrote: > > On 8/3/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > > > Currently we are in the process of migrating from phpbugtracker to > > > mantis, so better wait a few days until everything

Re: [CMake] How to request features?

2007-08-04 Thread Eric Noulard
Re-send to the list because previous attached files were too big. 2007/8/3, Alexander Neundorf <[EMAIL PROTECTED]>: > On Friday 03 August 2007 12:32, Eric Noulard wrote: > > > > Yes there is more. > > I throw hereafter the things I know, but there may be more. > &g

Re: [CMake] How to get around a CACHE problem?

2007-08-05 Thread Eric Noulard
2007/8/5, Christian Convey <[EMAIL PROTECTED]>: [...] summary: SET (... CACHE ...) not set after a FATAL_ERROR. > > My work-around for now is to do it like this: > > SET( LIBRARY_OUTPUT_PATH ${MOOSBIN} CACHE PATH > "Output directory for the MOOS libraries" ) > > IF("${LIBRARY_OUTPUT_PATH}

Re: [CMake] RPM CPack generator, was: How to request features?

2007-08-06 Thread Eric Noulard
2007/8/6, Alexander Neundorf <[EMAIL PROTECTED]>: > > Yes, it seems so. The one for the source RPM would be a full regular spec file > as far as I understand. Yes. I attached a example of such a generated file: cmake.spec > The one for the binary would have to be quite special. > How does rpmbuil

Re: [CMake] How to get around a CACHE problem?

2007-08-06 Thread Eric Noulard
2007/8/6, Christian Convey <[EMAIL PROTECTED]>: > > but the CMake macro writer may want to SET value as a GUESSED. > > > > SET(VAR [VALUE] [CACHE TYPE DOCSTRING [FORCE]] [GUESSED]) > > > > Do you think this proposition deserve a feature request? > > > > I think something about CMake needs rethinkin

Re: [CMake] RPM CPack generator, was: How to request features?

2007-08-06 Thread Eric Noulard
2007/8/6, Eric Noulard <[EMAIL PROTECTED]>: > > rpmbuild -bb --define="_topdir > /LOCAL/ERIC/tools/CMake/build_CMake/RPM" > --buildroot=/LOCAL/ERIC/tools/CMake/build_CMake/_CPack_Packages/RPM > /LOCAL/ERIC/tools/CMake/build_CMake/RPM/SPECS/cmake_fast.spec just a p

Re: [CMake] RPM CPack generator, was: How to request features?

2007-08-07 Thread Eric Noulard
2007/8/7, Frederik Deweerdt <[EMAIL PROTECTED]>: > On Mon, Aug 06, 2007 at 06:31:32PM +0200, Eric Noulard wrote: > > 2007/8/6, Alexander Neundorf <[EMAIL PROTECTED]>: > > 2) Those files MUST define the following variables > > > > CPACK_GENERATOR_NAME --

Re: [CMake] --enable-* with cmake

2007-08-07 Thread Eric Noulard
2007/8/8, gga <[EMAIL PROTECTED]>: > I'm currently using cmake for a variety of projects. Love it. > However, one feature I find myself missing more and more is one from > autotools configure scripts: AC_ARG_ENABLE(). > That is, the ability to allow the configuration script (ie. cmake) to be > run

[CMake] How to use INSTALL( ... COMPONENT ... )?

2007-08-08 Thread Eric Noulard
Hi list, Can anybody here explain how the COMPONENT option of the INSTALL CMake MACRO works? I am able to specify COMPONENT in my INSTALL command but I don't know how to use it with unix makefile generator? [...] We (me and Frederik D.) did ask howto use the COMPONENT option of the INSTALL CMak

Re: [CMake] --enable-* with cmake

2007-08-08 Thread Eric Noulard
2007/8/8, Philip Lowman <[EMAIL PROTECTED]>: > Eric Noulard wrote: > >> However, neither approach seems to me as clean as what's available under > >> autotools. > > > > I personnally think the OPTION CMake macro is just as good > > as AC_ARG_ENABL

Re: [CMake] --enable-* with cmake

2007-08-10 Thread Eric Noulard
2007/8/10, gga <[EMAIL PROTECTED]>: > Brandon Van Every wrote: > > On 8/8/07, gga <[EMAIL PROTECTED]> wrote: > >> I know I can pass -D symbols to cmake to modify its behavior and that > >> windows also has its ugly CmakeSetup gui. > > > > "Ugly?" Geez, what are you, a candidate for Windows Aero or

Re: [CMake] --enable-* with cmake

2007-08-10 Thread Eric Noulard
2007/8/10, Bill Hoffman <[EMAIL PROTECTED]>: > > The process for configuring a cmake project has to be iterative because > options can > be nested inside if statements. ccmake, cmake -i and CMakeSetup all do > the following: > > 1. Configure > 2. Write CMakeCache.txt > 3. Did the CMakeCache.txt c

Re: [CMake] Howto define build order

2007-08-24 Thread Eric Noulard
2007/8/22, Matthias Fechner <[EMAIL PROTECTED]>: > Hi Jack, > > Jack Kelly wrote: > > INCLUDE(AddFileDependencies) > > and then > > ADD_FILE_DEPENDENCIES(${CMAKE_BINARY_DIR}/path/to/your/pdf > > ${CMAKE_BINARY_DIR}/path/to/your/gnuplot/output) > > thx for your answer. > I tried now several combinat

Re: [CMake] CPack again..

2007-08-24 Thread Eric Noulard
2007/8/24, Robert Bielik <[EMAIL PROTECTED]>: > Is CPack anything that is "alive"? The lack of responses makes me feel > "not"... (?) Yes it is. At least many of us are using CPack. Mathieu did contribute DEB (Debian) package generator recently merged into CVS I did some work for an RPM package g

Re: [CMake] installation of properly line ended text files

2007-08-24 Thread Eric Noulard
2007/8/24, Dizzy <[EMAIL PROTECTED]>: > On Friday 24 August 2007 13:04:15 Jack Kelly wrote: > > Dizzy wrote: > > > > You shouldn't have to do any escaping. Use > > > > CONFIGURE_FILE(${SOURCEFILE} ${DESTFILE} COPYONLY) > > Thanks for the hint. This should solve my existent problem but it's not a go

[CMake] FIND_LIBRARY not finding libtoto.so.1 if libtoto.so link is missing

2007-08-31 Thread Eric Noulard
I was trying to use (as usual) FIND_LIBRARY to find an installed library the library is (Linux system) /usr/lib/libtoto.so.1 which is a symbolic link to /usr/lib/libtoto.so.1.0.7 The link /usr/lib/libtoto.so --> /usr/lib/libtoto.so.1 is missing. Then FIND_LIBRARY does not find /usr/lib/libtoto.

Re: [CMake] FIND_LIBRARY not finding libtoto.so.1 if libtoto.so link is missing

2007-08-31 Thread Eric Noulard
2007/8/31, Dizzy <[EMAIL PROTECTED]>: > On Friday 31 August 2007 11:44:11 Eric Noulard wrote: > > I was trying to use (as usual) > > > > FIND_LIBRARY to find an installed library > > the library is (Linux system) > > > > /usr/lib/libtoto.so.1 > >

Re: [CMake] FIND_LIBRARY not finding libtoto.so.1 if libtoto.so link is missing

2007-08-31 Thread Eric Noulard
2007/8/31, Andreas Pakulat <[EMAIL PROTECTED]>: > On 31.08.07 13:19:51, Eric Noulard wrote: > A program that uses libfoo doesn't > need libfoo.so during runtime, only libfoo.so.X Ok > > The development parts (headers and the .so link/file) usually come with > a -d

Re: [CMake] Cannot buils NSIS installer on Windows/Wascana

2007-09-06 Thread Eric Noulard
2007/9/6, David Cole <[EMAIL PROTECTED]>: > Line 402 of "CMake 2.4/share/cmake-2.4/Modules/NSIS.template.in" reads: > !define [EMAIL PROTECTED]@ > > I think there should be a space and double quotes, like this: > !define CPACK_PACKAGE_ICON "@CPACK_PACKAGE_ICON@" > > In fact, I'm not entirely su

Re: [CMake] Cannot build WXDialog for CMake CVS

2007-09-07 Thread Eric Noulard
2007/9/7, Mathieu Malaterre <[EMAIL PROTECTED]>: > I have had some issue with recent CMake version since the wxWidget > script broke backward compatibility. AFAIK the find script only works > with very recent wxWidget. > > what is your wxWidget version ? Does `wx-config --libs gl` works for you ?

[CMake] CMake and RPM documentation update

2007-09-07 Thread Eric Noulard
Hi all, I've just updated documentation regarding CMake and forthcoming CPack RPM generator. There is still work to be done but the generator is functional for binary RPM. http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29 I have added some explanation on the differences

Re: [CMake] *Updated* Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-09-07 Thread Eric Noulard
2007/8/3, Bill Hoffman <[EMAIL PROTECTED]>: > Eric Noulard wrote: > > > > Would it be possible to have "some" > > downloadable CMake CVS version snapshot built > > For example in: http://www.cmake.org/files/vSnapshots/ [...] > > > > I thin

[CMake] Cannot build WXDialog for CMake CVS

2007-09-07 Thread Eric Noulard
I am trying to built CMake CVS on a windows box using Wascana 0.9.3 (http://wascana.sourceforge.net/) which is a bundle of Eclipse CDT4, Mingw, Msys, WxWidgets. In fact manage to build CMake but I am not able to built a CMake GUI since: - I have no MFC aware toolchain - I did not manage to build

Re: [CMake] Cannot buils NSIS installer on Windows/Wascana

2007-09-06 Thread Eric Noulard
2007/9/6, David Cole <[EMAIL PROTECTED]>: > I just re-added CMakeInstall.bmp to the Utilities/Release directory after > confirming that its removal was inadvertent. cvs update and try again CPack: Package C:/Workspace/Build_CMake/cmake-2.5.0-win32-x86.exe generated. Much better :=) It works.

Re: [CMake] basename macro

2007-09-10 Thread Eric Noulard
2007/9/10, Juan Sanchez <[EMAIL PROTECTED]>: > Is there a basename macro to remove the file extension from a name? I > am using 2.4.7. Look at the GET_FILENAME_COMPONENT CMake builtin macro. >>> Get a specific component of a full filename. GET_FILENAME_COMPONENT(VarName FileName

<    6   7   8   9   10   11   12   13   14   15   >