Re: [CMake] Configuration

2007-07-26 Thread Philippe Poilbarbe
Camek, Alexander a écrit : Hi Alex, In my configure.h.cmake: #cmakedefine SYSTEM_NAME In my ... Did you have a look at ${CMAKE_SYSTEM_NAME} ? Yes I had, but when I write in the configure.h.cmake #cmakedefine ${CMAKE_SYSTEM_NAME} then the result after the configure_file is this:

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

2007-07-23 Thread Philippe Poilbarbe
Eric Noulard a écrit : ... (Efficiently) fighting SPAM on public trackers is not a easy task, ... We have done this by deleting the spammer accounts and introducing a captcha check each time a logging information is asked. And at now it has stopped spam (no more spam account or data) at the

[CMake] Re: cmake syntax vim

2007-05-25 Thread Philippe Poilbarbe
this is the one we use but changing the formatted output of the script is quite simple (everything is in perl vars at the end of the script). Expecting this can help, Ph. Poilbarbe -- Philippe Poilbarbe CLS, Space Oceanography Division CMakeHighlighting.tar.gz Description: Unix tar archive

Re: [CMake] Re: How to nuke a directory (for 'make clean')?

2007-03-13 Thread Philippe Poilbarbe
is cmake -E remove_directory which removes the directory and all its content (files/subdirs). And maybe the ability of deleting directories from ADDITIONAL_MAKE_CLEAN_FILES have been implemented (which would be consistent). -- Philippe Poilbarbe CLS - Space Oceanography Division

Re: [CMake] Changing EXECUTABLE_OUTPUT_PATH location

2006-12-20 Thread Philippe Poilbarbe
Alexander Neundorf a écrit : ... I have defined EXECUTABLE_OUTPUT_PATH to set this general bin directory and I did try to change the output name (OUTPUT_NAME property of the target) for the helper programs. But it did not work because the value of EXECUTABLE_OUTPUT_PATH is always prepended to

Re: [CMake] Determining good GCC parameters

2006-08-22 Thread Philippe Poilbarbe
...). 5) how would an user best configure the cmake build system to do a generic instead of native build? Philippe Poilbarbe. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Recognising Compaq Visual Fortran compiler under Windows

2006-08-11 Thread Philippe Poilbarbe
, thinking that it is options. At now I do not have time to investigate more (see my thread Compaq Fortran 6.1 detection fails under Windows sent during june) it is why I did not give the solution. -- Philippe Poilbarbe CLS - Space Oceanography Division SET(CMAKE_LIBRARY_PATH_FLAG -LIBPATH:) SET

Re: [CMake] Redistributed files

2006-07-13 Thread Philippe Poilbarbe
Patrick Noffke a écrit : On Thu, 13 Jul 2006 02:39:29 +0930, Philippe Poilbarbe [EMAIL PROTECTED] wrote: Hello, Within CMakeList.txt files, is there a way to know which compiler dependant files have to be distributed along with the application. It may be different depending on the compiler

Re: [CMake] passing a list to a CMake script

2006-07-13 Thread Philippe Poilbarbe
Sylvain Benner a écrit : Hi, ${CMAKE_COMMAND} -DMYLIST=${whatever} -P myscript.cmake MYLIST comes through as a string. In myscript.cmake, I've been reconstructing the string into a list, on the risky assumption that blank spaces should be converted to semicolons ; . Is there a cleaner

Re: [CMake] Selecting runtime library on Visual Studio projects

2006-07-13 Thread Philippe Poilbarbe
Jan Woetzel a écrit : Sagnes, Frederic wrote: How can I switch the default libraries (/MD and MDd switches) to the static ones (/MT and /MTd switches). (1) The easy way is start CMakeSetup.exe or ccmake and edit the flags by hand interactively. (2) Inti the cache one time with different

Re: [CMake] INSTALLing a directory

2006-06-26 Thread Philippe Poilbarbe
POST_INSTALL_SCRIPT InstallMyDir.cmake) where TheTarget is a target which launch the build of the directory -- Philippe Poilbarbe CLS - Space Oceanography Division ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Compaq Fortran 6.1 detection fails under Windows

2006-06-20 Thread Philippe Poilbarbe
Brad King a écrit : Philippe Poilbarbe wrote: Hello, ... F90: error: Switch '-o' is ambiguous ... The fortran compiler if Compaq Fortran 6.1 and it ... CMake version: 2.4.2 That compiler is not known to CMake. You'll have to set the variable CMAKE_Fortran_COMPILE_OBJECT to teach CMake how

[CMake] Compaq Fortran 6.1 detection fails under Windows

2006-06-19 Thread Philippe Poilbarbe
and solved it ? The fortran compiler if Compaq Fortran 6.1 and it does not seem to have a -o option (f90 -help command output is below). CMake version: 2.4.2 Thanks -- Philippe Poilbarbe. CLS - Space Oceanography Division Compaq Visual Fortran Optimizing Compiler Version 6.1 Copyright (C

Re: [CMake] Names of known variables

2006-06-16 Thread Philippe Poilbarbe
Brandon J. Van Every a écrit : Philippe Poilbarbe wrote: ... When I bought the Mastering CMake book there was some of them (and it was not up to date) but it's quite difficult to find the new ones as new versions of cmake are coming. ... Although it's not complete, http://www.cmake.org/Wiki

Re: [CMake] How to get the system date in a CMake Script ?

2006-06-16 Thread Philippe Poilbarbe
Filipe Sousa a écrit : On Friday 16 June 2006 09:49, Sylvain Benner wrote: Is there a simple way to get the system date in a CMake script ? The only way is calling an external program through EXECUTE_PROCESS. Under Unix you have /usr/bin/date. Each time something cannot be done by

Re: [CMake] EXECUTE_PROCESS and writing output to a file

2006-06-16 Thread Philippe Poilbarbe
Sylvain Benner a écrit : ... It works but it's not really what I want since it doesn't display the output in real time. The process can be pretty long and the intermediate info are pretty important. ... On unix you can insert the 'tee' command in the list of commands where you want to keep

[CMake] FILE(GLOB) don't work with directories

2006-06-16 Thread Philippe Poilbarbe
/Bitrock/* C:/Bitrock* C:/Bitrock/*) WIN32_IB_DIRS is always empty even if a directory correspond. Is it a bug or a feature (cmake 2.2 2.4) ? At now I have done a workaround (with a 1 line perl script). Cheers, Philippe Poilbarbe ___ CMake

[CMake] Names of known variables

2006-06-15 Thread Philippe Poilbarbe
w versions of cmake are coming. There is many answers on this list of the form: 'to do this set the value of this variable to this and it will do the trick'. Thanks, Philippe Poilbarbe. -- Philippe Poilbarbe CLS Space Oceanography Division mai

[CMake] Cmake and VTK 5.0

2006-03-14 Thread Philippe Poilbarbe
Hello, I have just installed VTK 5.0 under Linux and this version breaks the FindVTK.cmake mechanism used to find vtk. FindVTK.cmake (from CMake 2.2.3) tries to find vtk from the path entries in directories ../lib/vtk but VTK installs itself in lib/vtk-5.0 Attached there is a file named

Re: [CMake] Bug or misusage ???

2006-03-08 Thread Philippe Poilbarbe
Brad King a écrit : ... Use a full path for BRATHL_UNITFILE: SET(BRATHL_UNITFILE ${CMAKE_CURRENT_BINARY_DIR}/brathl_units.dat) The problem is that relative paths are ambiguous in the case of custom commands. CMake versions up to 2.2 (current release) ignored relative paths listed as

Re: [CMake] Bug or misusage ???

2006-03-07 Thread Philippe Poilbarbe
Brad King a écrit : ... ADD_CUSTOM_TARGET is meant to add a new top-level target (like ADD_LIBRARY or ADD_EXECUTABLE) in which build commands with dependencies are evaluated. Note this sentence in the command's documentation: Adds a target with the given name that executes the given

[CMake] Suggestion: directory removal

2006-03-02 Thread Philippe Poilbarbe
Hello, Here is a suggestion for cmake in command line mode. Cmake is only able to remove files; it would be useful to be able to remove directories (with possibility to recursively remove their content). Regards, Philippe Poilbarbe ___ CMake