Re: [CMake] CMake SWIG module

2009-10-12 Thread Tristan Carel
glad you are the one who will blow their head clean off :) Regards -- Tristan Carel Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house

Re: [CMake] Ability to tell if it is a relative path

2009-03-10 Thread Tristan Carel
a relative path I want to prepend ${CMAKE_CURRENT_SOURCE_DIR} to make it absolute, but if it's already absolute, I don't want to add anything. Hi James, by grepping `absolute' is the CMake documentation, you find: if(IS_ABSOLUTE path) True if the given path is an absolute path. Cheers -- Tristan

Re: [CMake] Swig dependencies not being tested?

2007-12-12 Thread Tristan Carel
On Dec 12, 2007 12:33 AM, Alan W. Irwin [EMAIL PROTECTED] wrote: Tristan, I have been slow to respond to your e-mail because it took a long time to investigate the java problems created by your patch. Details, below. On 2007-12-11 10:59+0100 Tristan Carel wrote: On Dec 10, 2007 8:58 PM

Re: [CMake] Swig dependencies not being tested?

2007-12-11 Thread Tristan Carel
On Dec 10, 2007 8:58 PM, Alan W. Irwin [EMAIL PROTECTED] wrote: On 2007-12-10 17:08+0100 Tristan Carel wrote: On Dec 10, 2007 7:15 AM, Alan W. Irwin [EMAIL PROTECTED] wrote: On 2007-12-10 05:33+0100 Christiaan Putter wrote: Hi all, I know swig support isn't all that great

Re: [CMake] Swig dependencies not being tested?

2007-12-10 Thread Tristan Carel
I hope this limitation is removed at the same time as when the dependency problem is fixed. I agree, it should work. I guess it is alright if you specify a path like ../common.i but not something like ${CMAKE_SOURCE_DIR}/swig/common.i. -- Tristan Carel Music with dinner is an insult both

Re: [CMake] Obtaining a subversion revision number at build time ?

2007-12-03 Thread Tristan Carel
(STATUS Revision is ${ProjectRevision}) # -- HTH -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. http://www.tristancarel.com ___ CMake mailing list CMake

Re: [CMake] Platform specific output file advice

2007-09-18 Thread Tristan Carel
. For Ruby, I have never tried! -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. http://www.tristancarel.com ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Macro's all and string expansion

2007-09-01 Thread Tristan Carel
On 9/1/07, Brandon Van Every [EMAIL PROTECTED] wrote: On 9/1/07, Tristan Carel [EMAIL PROTECTED] wrote: Hi, While passing a regular expression to macro as parameter, I experimented strange behaviour: $ cat bar.cmake MACRO(FOO regexp) IF(foo.bar MATCHES ${regexp}) MESSAGE

Re: [CMake] [CPack] debian binary package

2007-08-18 Thread Tristan Carel
On 8/14/07, Mathieu Malaterre [EMAIL PROTECTED] wrote: On 8/14/07, Tristan Carel [EMAIL PROTECTED] wrote: I will make more serious test with `advanced' options: DEBIAN_PACKAGE_DEPENDS, stuff like that... If anyone has any experience with this, he should speak now or hold his peace forever

Re: [CMake] [CPACK] Create package from multiple builds and project configurations

2007-08-17 Thread Tristan Carel
On 8/13/07, Alexander Neundorf [EMAIL PROTECTED] wrote: On Sunday 12 August 2007 12:37, Tristan Carel wrote: If I am still right, NMake Makefiles and Visual .. are `dynamic generators' as the build configuration is determined at build time. AFAIK the nmake makefile generator works

Re: [CMake] Install directories with new INSTALL command

2007-08-14 Thread Tristan Carel
] [[PATTERN pattern | REGEX regex] [EXCLUDE] [PERMISSIONS permissions...]] [...]) Is there a simple command for copying entire directories recursively ? You can use the CMake `copy_directory' command, more info with: $ cmake -E HTH -- Tristan Carel Music with dinner is an insult

Re: [CMake] Feature Request: FILE (GLOB files *.c EXCEPT main.c test.c)

2007-08-14 Thread Tristan Carel
${files}) -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] [CPACK] Need explanation about `CPACK_CMAKE_INSTALL_PROJECTS' variable

2007-08-12 Thread Tristan Carel
Hi, I don't really understand the purpose of the fourth argument named `Project component' used to describe a project to install. I felt lucky and tried to set a target name instead of the default `ALL' value .. without success. thx by advance. -- Tristan Carel Music with dinner is an insult

[CMake] [WINDOWS] POST_BUILD event troubles

2007-08-12 Thread Tristan Carel
} POST_BUILD COMMAND post-copy.bat ${CMAKE_CFG_INTDIR} ${CMAKE_CURRENT_BINARY_DIR}) ENDIF(MSVC_IDE) # --- but I really wish to find a clean solution. Thank you by advance. -- Tristan Carel Music with dinner is an insult

[CMake] [CPACK] Create package from multiple builds and project configurations

2007-08-12 Thread Tristan Carel
content! Thx for these amazing tools! -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. cpack-multiple-configurations.diff Description: Binary data ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman

Re: [CMake] Call for Module maintainer volunteers

2007-08-12 Thread Tristan Carel
: FindSWIG UseSWIG FindSubversion The process would be much more reactive with cvs write access instead than sending patches by email. thx -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. ___ CMake mailing list CMake@cmake.org

Re: [CMake] cmake, lex yacc

2007-07-30 Thread Tristan Carel
a Flex scanner uses tokens defined by Bison where in this case the scanner depends on the header file generated by Bison. These modules have been tested on many systems, but by only one developer. Hope this help. -- Tristan Carel Music with dinner is an insult both to the cook and the violinist

[CMake] Dart / ExperimentalMemCheck -- leaks not reported

2007-04-22 Thread Tristan Carel
the philosophy, but it is really worth to. Thank you by advance Cheers -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. http://www.tristan-carel.com experimentalmemcheck.log.bz2 Description: BZip2 compressed data ___ CMake

Re: [CMake] Placing debug and release version of the same library in single installer?

2007-03-13 Thread Tristan Carel
on how to do that? Thank You. Hi Artur, In the CMake mailing-list archive: http://www.cmake.org/pipermail/cmake/2006-November/011970.html I have used it since, it works well. -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. http://www.tristan-carel.com

Re: [CMake] problem with Xerces-C++ 2.7

2007-03-08 Thread Tristan Carel
}) ADD_Executable(Dom ${SRCS}) TARGET_LINK_LIBRARIES(Dom ${XERCES_LIBRARY_DIR}) If you still have troubles, could you please submit the compilation log with the variable CMAKE_VERBOSE_MAKEFILE set to true? $ cmake -DCMAKE_VERBOSE_MAKEFILE=true $ make # thx -- Tristan Carel Music with dinner

Re: [CMake] Newbie question

2007-02-06 Thread Tristan Carel
Configuring done I get those errors even when using the GUI through cmakesetup. What am I doing wrong Kevin ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake -- Tristan Carel Music with dinner

Re: [CMake] My Customized cmake-mode.el includes support for CMakeCache.txt

2007-01-23 Thread Tristan Carel
to the CMake syntax. So what about patching cmake-mode.el to provide 2 different modes, `cmake-mode' and `cmake-cache-mode'? Thank you very much, Emacs/CMake users will save some time thanks to your effort. -- Tristan Carel Music with dinner is an insult both to the cook and the violinist

Re: [CMake] sub-sections in visual7 with CMAKE ?

2007-01-22 Thread Tristan Carel
CMake installation directory) Bye -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. http://tristan-carel.com ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FooConfig.cmake with Foo_DIR issue

2006-12-19 Thread Tristan Carel
the assignment of Foo_DIR: FILE(TO_CMAKE_PATH ${Foo_DIR} Foo_DIR) -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] simple question

2006-12-15 Thread Tristan Carel
directory ? I guess nop. as CMake needs these files. It's not that much anoying as it's not in your source tree, in few days you won't ever see them ;) CU -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. ___ CMake

Re: [CMake] EXECUTE_PROCESS to strip

2006-12-14 Thread Tristan Carel
] [INPUT_FILE file] [OUTPUT_FILE file] [ERROR_FILE file] [OUTPUT_QUIET] [ERROR_QUIET] [OUTPUT_STRIP_TRAILING_WHITESPACE] [ERROR_STRIP_TRAILING_WHITESPACE]) Look at the 2 last options. -- Tristan

Re: [CMake] lib/dll LINK_LIBRARIES on windows?

2006-12-13 Thread Tristan Carel
this: SWIG_LINK_LIBRARIES(glm ${PYTHON_LIBRARIES} glm ) However if I were you, to avoid any conflicts / misunderstanding, I would choose a different module name: ADD_LIBRARY(glm ) [...] SWIG_ADD_MODULE(glm_swig python glm.i) SWIG_LINK_LIBRARIES(glm_swig ${PYTHON_LIBRARIES} glm ) -- Tristan Carel http

[CMake] Re: [MODULES][UseSWIG] Dependencies automagically computed!

2006-12-12 Thread Tristan Carel
) which takes care of your comments. It should be all right now. Do you copy? Thank you very much. CU On Monday 11 December 2006 21:52, Tristan Carel wrote: On 12/9/06, Axel Roebel [EMAIL PROTECTED] wrote: Tristan Carel wrote: Hi Swig lovers, Axel had the great idea to use the -swiglib

Re: [CMake] Re: [MODULES][UseSWIG] Dependencies automagically computed!

2006-12-12 Thread Tristan Carel
On 12/12/06, Axel Roebel [EMAIL PROTECTED] wrote: On Tuesday 12 December 2006 16:36, Tristan Carel wrote: I added a RC3 version on the bt (http://www.cmake.org/Bug/bug.php?op=showbugid=4147) which takes care of your comments. It should be all right now. Do you copy? Not that it is extremely

[CMake] Re: [MODULES][UseSWIG] Dependencies automagically computed!

2006-12-11 Thread Tristan Carel
On 12/9/06, Axel Roebel [EMAIL PROTECTED] wrote: Tristan Carel wrote: Hi Swig lovers, Axel had the great idea to use the -swiglib option in order to improve the module's efficiency to properly fill the prerequesites variables. I guess it is the perfect example of using a tool to perform

[CMake] [MODULES][UseSWIG] Dependencies automagically computed!

2006-12-08 Thread Tristan Carel
by swig from # swigFile in DEST_VARIABLE A full description (including behavior, use cases) is available on the bug tracker. So as Axel wrote: Any comments or volunteers to try? Cheers -- Tristan Carel Music with dinner is an insult both to the cook and the violinist

Re: [CMake] FindPerlLibs.cmake and FindSwig.cmake outdated!

2006-12-07 Thread Tristan Carel
to introduce a new variable SWIG. I put a third version of the bug tracker. http://public.kitware.com/Bug/bug.php?op=showbugid=4145 Thank you -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. ___ CMake mailing list CMake@cmake.org

Re: [CMake] SET_SOURCE_FILES_PROPERTIES and configurations

2006-12-05 Thread Tristan Carel
or CMAKE_CXX_FLAGS used) * Debug (CMAKE_C_FLAGS_DEBUG or CMAKE_CXX_FLAGS_DEBUG) * Release (CMAKE_C_FLAGS_RELEASE or CMAKE_CXX_FLAGS_RELEASE) [...] CU -- Tristan Carel Music with dinner is an insult both to the cook

Re: [CMake] SET_SOURCE_FILES_PROPERTIES and configurations

2006-12-05 Thread Tristan Carel
On 12/5/06, Luca Cappa [EMAIL PROTECTED] wrote: Hello On Tue, 05 Dec 2006 16:57:18 +0100, Tristan Carel [EMAIL PROTECTED] wrote: On 12/5/06, Luca Cappa [EMAIL PROTECTED] wrote: The problem is that I cannot use different flags (perhaps CONFIGURATION_COMPILE_FLAGS) to generate two different

Fwd: [CMake] Deleting a variable

2006-12-05 Thread Tristan Carel
... -- Forwarded message -- From: Tristan Carel [EMAIL PROTECTED] Date: Dec 5, 2006 4:12 PM Subject: Re: [CMake] Deleting a variable To: James Bigler [EMAIL PROTECTED] On 12/5/06, James Bigler [EMAIL PROTECTED] wrote: Message: 8 Date: Tue, 05 Dec 2006 00:48:31 -0800 From

Re: [CMake] FindPerlLibs.cmake and FindSwig.cmake outdated!

2006-12-05 Thread Tristan Carel
' on the bug tracker? Thanks! CU -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Problem writing FindTPProto.cmake

2006-11-25 Thread Tristan Carel
are located is contained in the `CMAKE_MODULE_PATH' variable, so it's strange, CMake should be able to find your module. maybe a permission problem??? -- Tristan Carel http://tristan-carel.com Music with dinner is an insult both to the cook and the violinist

Re: [CMake] WRITE_FILE and special char

2006-11-08 Thread Tristan Carel
$ to tell CMake we want the character so that it prevents the variable expansion. -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Fwd: SWIG + install

2006-11-07 Thread Tristan Carel
${CMAKE_BINARY_DIR}/${outdir}/barJNI.java DESTINATION share/java) -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] cache variable prevents FIND_LIBRARY to be called again :/

2006-11-01 Thread Tristan Carel
of a EXECUTE_PROCESS so this FIND_LIBRARY needs to be performed each time I run `configure'. Is there a way to remove an entry from the cache? Thx -- Tristan Carel http://www.tristan-carel.com Music with dinner is an insult both to the cook and the violinist

Re: [CMake] cache variable prevents FIND_LIBRARY to be called again :/

2006-11-01 Thread Tristan Carel
On 11/1/06, Tristan Carel [EMAIL PROTECTED] wrote: On 11/1/06, Brad King [EMAIL PROTECTED] wrote: Tristan Carel wrote: Hi, The documentation of `FIND_LIBRARY' specify: Once one of these calls succeeds the result variable will be set and stored in the cache so that neither call

Re: [CMake] File Globbing

2006-10-27 Thread Tristan Carel
On 10/26/06, Tristan Carel [EMAIL PROTECTED] wrote: On 10/26/06, Matthew Campbell [EMAIL PROTECTED] wrote: [...] [...] I don't see how to make 'globbing' patterns which can: - find .h and .cpp - find files which do NOT contain a specific pattern. I'm interesting if you see a way to do

[CMake] How to easily extract items from a list which match a regex?

2006-10-27 Thread Tristan Carel
$ OUTPUT_VARIABLE My_Headers) -- Tristan Carel Music with dinner is an insult both to the cook and the violinist. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] any arithmetic expansion?

2006-10-27 Thread Tristan Carel
of the parser but still be platform-independant, maybe you could add a command available with CMake -E. == CMAKE -E EVAL 0x101000 + ${Foo} The worst case would be a module FindBc.cmake which provides a macro Bc_EVAL my 2 cents. -- Tristan Carel http://tristan-carel.com It's sometimes harsh to remember

Re: [CMake] [SUBVERSION] Retrieve details of your working copy

2006-10-26 Thread Tristan Carel
On 10/26/06, Brad King [EMAIL PROTECTED] wrote: Tristan Carel wrote: To use it: ### Extract information from the current subversion working copy INCLUDE(UseSubversion.cmake) IF(SUBVERSION_SVN_FOUND) SUBVERSION_REPOSITORY(${PROJECT_SOURCE_DIR}) ENDIF(SUBVERSION_SVN_FOUND) This looks like

Re: [CMake] [SUBVERSION] Retrieve details of your working copy

2006-10-26 Thread Tristan Carel
On 10/26/06, Brad King [EMAIL PROTECTED] wrote: Tristan Carel wrote: In Modules/readme.txt, in the list of variables to provide, I can read: [...] FindSubversion.cmake - capitalized vs IF(SUBVERSION_FOUND) - uppercased [...] For a while I was arguming that the case-ness should always

Re: [CMake] [SUBVERSION] Retrieve details of your working copy

2006-10-26 Thread Tristan Carel
On 10/26/06, Brad King [EMAIL PROTECTED] wrote: Tristan Carel wrote: That looks pretty nice. Here are a few comments: 1.) Please change EXEC_PROGRAM to EXECUTE_PROCESS. Done. You can use the new OUTPUT_STRIP_TRAILING_WHITESPACE option in CVS CMake's EXECUTE_PROCESS to avoid extra

Re: [CMake] File Globbing

2006-10-26 Thread Tristan Carel
to do it. == you have to duplicate entries for each set of files: FILE(GLOB Mac_CPP *_Mac.cpp) FILE(GLOB Mac_H *_Mac.h) LIST(APPEND Mac_Sources ${Mac_CPP} ${Mac_H}) I hope this will help you. -- Tristan Carel http://tristan-carel.com One of the keys to happiness is a bad memory

[CMake] [MISC] CMake support for enscript

2006-09-21 Thread Tristan Carel
code with the shell script `ppcode' (in attachment). the `CMakeLists.txt.pdf' has been generated with this script. -- Tristan Carel http://tristan-carel.com cmake.st Description: Binary data CMakeLists.txt.pdf Description: Adobe PDF document ppcode Description: Binary data

Re: [CMake] SOURCE_GROUP

2006-08-29 Thread Tristan Carel
(foo_headers REGULAR_EXPRESSION foo.*\\.h) ADD_EXECUTABLE(testgroup ${sources}) I guess there are no particular dependence relative to the call location. by the way, you can also consult the FAQ: http://www.cmake.org/Wiki/CMake_FAQ bye -- Tristan Carel

[CMake] [ADD_CUSTOM_COMMAND] How to add source dependences to the target ouside of the command?

2006-08-24 Thread Tristan Carel
Swig source) ENDIF(CMAKE_SWIG_OUTDIR) SET_SOURCE_FILES_PROPERTIES(${swig_generated_file_fullname} Thank you by advance. -- Tristan Carel ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake