Re: [cmake-developers] [PATCH] Get the PYTHON_SITELIB directory in FindPythonLibs

2015-12-17 Thread Andreas Schneider
On Thursday 17 December 2015 11:12:13 Brad King wrote: > On 12/16/2015 05:04 AM, Andreas Schneider wrote: > > similar to what I implemented in FindPerlLibs.cmake some years ago, I've > > added PYTHON_SITELIB to FindPythonLibs. With PYTHON_SITELIB you have the > > loca

[CMake] How to replace get_target_property(LOCATION)?

2014-04-04 Thread Andreas Schneider
(NWRAP_LOCATION nss_wrapper LOCATION) set(NSS_WRAPPER_LOCATION ${NWRAP_LOCATION} PARENT_SCOPE) tests/CMakeLists.txt: set(TEST_ENVIRONMENT LD_PRELOAD=${NSS_WRAPPER_LOCATION}) So how do I get and set the location of the library with cmake 2.8.12 now? Thanks, -- andreas -- Andreas Schneider

Re: [cmake-developers] set_tests_properties and several environment variables

2013-06-26 Thread Andreas Schneider
=${ CMAKE_CURRENT_BINARY_DIR}/passwd;NSS_WRAPPER_GROUP=${CMAKE_CURRENT_BINARY_DI R}/group;NSS_WRAPPER_HOSTS=${CMAKE_CURRENT_BINARY_DIR}/hosts ) Thanks David, it isn't documented that it is a ; delimited list. I thought you need to specify it several times. -- andreas -- Andreas Schneider

[cmake-developers] set_tests_properties and several environment variables

2013-06-25 Thread Andreas Schneider
miss three env variables, so my test fails ... Should I open a bug or is this knows? cmake version 2.8.11.1 http://git.cryptomilk.org/projects/nss_wrapper.git/tree/ -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.org

Re: [cmake-developers] set_tests_properties and several environment variables

2013-06-25 Thread Andreas Schneider
On Tuesday 25 June 2013 12:46:37 Andreas Schneider wrote: Hi, I have a strange issue with set_tests_properties() and several ENVIRONMENT definitions. Only the last one shows up in the generated ctest file. So this: add_cmocka_test(testsuite testsuite.c ${CMOCKA_LIBRARY

[cmake-developers] Testing Groups

2013-06-10 Thread Andreas Schneider
/ -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http

Re: [cmake-developers] [review] add_jar (UseJava) uses cmake_parse_arguments

2013-03-26 Thread Andreas Schneider
to support it forever. I would prefer this change before we define/add more types of the function and need to support more backward compatibility. It is a pain now. But better than more pain later :) -- andreas -- Andreas Schneider GPG-ID: F33E3FC6

Re: [cmake-developers] [review] add_jar (UseJava) uses cmake_parse_arguments

2013-03-26 Thread Andreas Schneider
On Tuesday 26 March 2013 10:33:03 Andreas Schneider wrote: On Monday 25 March 2013 13:14:33 Brad King wrote: On 03/25/2013 12:28 PM, Matthew Woehlke wrote: these must now be explicitly specified with INCLUDE_JARS. Other named arguments are SOURCES (optional, to 'reset' to listing sources

Re: [cmake-developers] Improve JNI detection and fix Java testcase

2013-03-26 Thread Andreas Schneider
On Tuesday 26 March 2013 08:30:25 Brad King wrote: On 03/18/2013 02:59 PM, Andreas Schneider wrote: I've created two patches. The first improves the JNI find module to run the java executable to determine the home. The seconds uses the find module to detect jni for the Java testcase

[cmake-developers] Running just one test in CMake tree

2013-03-18 Thread Andreas Schneider
Hey, I just don't find anymore the command to just run one test in the CMake tree. Can someone please help. I'm preparing a patchset with a collegue for the Java support in CMake. We want to extend the testcase. -- andreas -- Andreas Schneider GPG-ID: F33E3FC6

[cmake-developers] Improve JNI detection and fix Java testcase

2013-03-18 Thread Andreas Schneider
/fix_java_test Regards, -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

[CMake] REGEX REPLACE help

2013-03-18 Thread Andreas Schneider
Runtime Environment Thanks for the help. -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] REGEX REPLACE help

2013-03-18 Thread Andreas Schneider
(_line ${_JAVA_SETTINGS_LIST}) +if (${_line} MATCHES .*java.home) +string(REGEX REPLACE ^ *java.home = (.+)/jre$ \\1 _JAVA_PROPERTIES_HOME ${_line}) +endif() +endforeach() +endif() -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.org

Re: [cmake-developers] [CMake] please review: fix UseJava.cmake to support dependent jars

2013-03-14 Thread Andreas Schneider
the patches and they look fine for me. I'm sorry that I don't have the time to test them right now. Cheers, -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered by www.kitware.com Visit other Kitware

Re: [CMake] please review: fix UseJava.cmake to support dependent jars

2013-03-14 Thread Andreas Schneider
the patches and they look fine for me. I'm sorry that I don't have the time to test them right now. Cheers, -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered by www.kitware.com Visit other Kitware

[Cmake-commits] CMake branch, next, updated. v2.8.8-3569-g832059f

2012-07-26 Thread Andreas Schneider
64a0162 Author: Andreas Schneider a...@cryptomilk.org AuthorDate: Thu Jul 26 04:48:10 2012 -0400 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Thu Jul 26 04:48:10 2012 -0400 Merge topic 'asn_openssl_cross_cc' into next 64a0162 FindOpenSSL: find cross-compiled OpenSSL

Re: [CMake] [Java] - Adding manifest information to a jar file

2012-02-13 Thread Andreas Schneider
On Wednesday 08 February 2012 09:59:47 David Cole wrote: I would love it if you would push them to the stage and merge to 'next'... Done. -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered

[Cmake-commits] CMake branch, next, updated. v2.8.7-2578-g5a6e4e2

2012-02-13 Thread Andreas Schneider
5a6e4e264ce50dfd8e21bc00c9938d6f9e408536 Merge: 102b875 18e8d2f Author: Andreas Schneider a...@cryptomilk.org AuthorDate: Mon Feb 13 07:29:43 2012 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Mon Feb 13 07:29:43 2012 -0500 Merge topic 'asn_java_exec' into next

Re: [CMake] [Java] - Adding manifest information to a jar file

2012-02-08 Thread Andreas Schneider
On Tuesday 07 February 2012 13:01:49 David Cole wrote: 2012/2/7 Nicolas Desprès nicolas.desp...@gmail.com: On Sat, Dec 10, 2011 at 3:46 PM, Andreas Schneider a...@cryptomilk.org wrote: On Saturday 29 October 2011 23:34:50 Frank Glinka wrote: Hi, Hi, Hi, I am happy about

Re: [CMake] Java support - install with components

2011-12-10 Thread Andreas Schneider
. Patches are welcome :) -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] [Java] - Adding manifest information to a jar file

2011-12-10 Thread Andreas Schneider
in the bugtracker. -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Java Script Changes

2011-12-10 Thread Andreas Schneider
is the diff for my changes, hoping the correct folks will review. Hi Allen, sorry this patch is not acceptable. It needs to be optional or we break existing scripts. See find_jar() or create_javadoc(). -- andreas -- Andreas Schneider GPG-ID: F33E3FC6

[Cmake-commits] CMake branch, next, updated. v2.8.5-1792-ga7ddc2f

2011-09-02 Thread Andreas Schneider
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a7ddc2fd05eb6d1cc87c121d00c0ce35c03a0223 commit a7ddc2fd05eb6d1cc87c121d00c0ce35c03a0223 Merge: 7692baa e01b98e Author: Andreas Schneider a...@cryptomilk.org AuthorDate: Fri Sep 2 03:41:59 2011 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v2.8.5-1622-g6e08230

2011-08-17 Thread Andreas Schneider
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e08230ad11f360cb6e1589b46e0a29d37a0488d commit 6e08230ad11f360cb6e1589b46e0a29d37a0488d Merge: 727138c 1c2ab71 Author: Andreas Schneider a...@cryptomilk.org

[Cmake-commits] CMake branch, next, updated. v2.8.5-1441-ge422c4d

2011-08-05 Thread Andreas Schneider
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e422c4d27a302cd2a0b535112584a8000733fadd commit e422c4d27a302cd2a0b535112584a8000733fadd Merge: ad06fe1 72c731f Author: Andreas Schneider a...@cryptomilk.org

[Cmake-commits] CMake branch, next, updated. v2.8.4-1361-g7e97728

2011-04-06 Thread Andreas Schneider
in full, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7e977287543d03b5f280b9f0b00498cfab4f0cab commit 7e977287543d03b5f280b9f0b00498cfab4f0cab Merge: 0a27821 b01a505 Author: Andreas Schneider a...@cryptomilk.org

Re: [CMake] CMake Java Support

2011-02-10 Thread Andreas Schneider
-classpath2 classA images ---Z.img I think then you have to move the images to the right location. Resource files are just copied to the same location as in the source dir. They are not magically moved. -- andreas -- Andreas Schneider GPG-ID: 8B7EB4B8

Re: [CMake] CMake Java Support

2011-02-05 Thread Andreas Schneider
On Wednesday, January 12, 2011 15:32:08 you wrote: Andreas, Thanks for providing these files! I have finally been able to progress on converting our java product to cmake. I have one suggestion: Add to the add_java function the classpath for the target; set(${_TARGET_NAME}_CLASSPATH

Re: [CMake] CMake Java Support

2011-01-14 Thread Andreas Schneider
with normal C process how do I connect the java JAR to use the library? I'm not sure how to use INSTALL_JNI_SYMLINK? Allen Hello CMake, my name is Andreas Schneider and I'm working for Red Hat. At the end of last year I've worked on Dogtag PKI [1]. The Dogtag Certificate System [2

Re: [CMake] CMake Java Support

2011-01-14 Thread Andreas Schneider
with normal C process how do I connect the java JAR to use the library? I'm not sure how to use INSTALL_JNI_SYMLINK? You need to set a version, else it will not work. Cheers, -- andreas -- Andreas Schneider GPG-ID: 8B7EB4B8 Red Hat

Re: [CMake] CMake Java Support

2011-01-14 Thread Andreas Schneider
it working on Windows but never tested. The more details you give the easier it is to fix. If you could print out the variables I could try to fix it and add what you need. -- andreas -- Andreas Schneider GPG-ID: 8B7EB4B8 Red Hat

Re: [CMake] CMake Java Support

2011-01-11 Thread Andreas Schneider
ant when CMake ist able to do the same the way I like and prefer. -- andreas -- Andreas Schneider GPG-ID: 8B7EB4B8 Red Hat a...@redhat.com Samba Team a...@samba.org

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-11-07 Thread Andreas Schneider
On Monday, November 01, 2010 17:18:53 Michał Czuczman wrote: On 10/22/2010 10:58 PM, Ben Boeckel wrote: On Fri, Oct 22, 2010 at 04:45:42PM -0400, Ben Boeckel forgot to attach files Actually attaching things now. --Ben This is still not a perfect solution. 1. The script

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-11-06 Thread Andreas Schneider
On Monday, November 01, 2010 17:18:53 Michał Czuczman wrote: On 10/22/2010 10:58 PM, Ben Boeckel wrote: On Fri, Oct 22, 2010 at 04:45:42PM -0400, Ben Boeckel forgot to attach files Actually attaching things now. --Ben This is still not a perfect solution. 1. The script

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-16 Thread Andreas Schneider
On Saturday 16 October 2010 12:13:02 Andreas Schneider wrote: On Friday 15 October 2010 23:13:41 Michał Czuczman wrote: I use CMake for building a multi-platform multi-language project where for most parts it fits very well. However, one part of the project is written in Java, with some

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-15 Thread Andreas Schneider
On Friday 15 October 2010 23:13:41 Michał Czuczman wrote: I use CMake for building a multi-platform multi-language project where for most parts it fits very well. However, one part of the project is written in Java, with some native implementations. So it would be great to have a nice Java

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-08 Thread Andreas Schneider
On Thursday 07 October 2010 21:32:51 Bill Hoffman wrote: The other issue is VS builds. At one point, I had some magic, cmake language to custom command converter thing going for this, but I am thinking it might be broken. If we did a pure custom-command version, it would work in the IDE's

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-07 Thread Andreas Schneider
On Sunday 22 August 2010 22:11:28 Alexander Neundorf wrote: CMake supports Java, but that support is ... needs some work, there are some issues (I think this had to do with the location of the compiled files and the java packages or something). I assume patches to improve the situation would

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-07 Thread Andreas Schneider
On Thursday 07 October 2010 16:45:49 Andreas Schneider wrote: My current problem is with javah (C header file generator). This generator works on the class files. The class files aren't in CMAKE_CURRENT_BINARY_DIR they are located in: ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/project.dir/some

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-07 Thread Andreas Schneider
On Thursday 07 October 2010 18:57:50 Bill Hoffman wrote: The java support was broken a while ago when we re-organized the build trees. I don't have much time to work on this, but I would like to get it fixed. The best approach might be a pure custom command approach. Hi Bill, with some

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-07 Thread Andreas Schneider
On Thursday 07 October 2010 21:32:51 Bill Hoffman wrote: The other issue is VS builds. At one point, I had some magic, cmake language to custom command converter thing going for this, but I am thinking it might be broken. If we did a pure custom-command version, it would work in the IDE's

Re: [CMake] CTest/CDash and git

2010-03-13 Thread Andreas Schneider
On Thursday 22 October 2009 23:23:56 Andrew Maclean wrote: I guess the subject says it all. What is the status of using CMake, Ctest and CDash with git? Hi, I've spent the whole afternoon writing a working CTest script which can checkout a git repository build and test it and submit to CDash.

[CMake] find_package_version_check

2009-08-13 Thread Andreas Schneider
Hi, I had to add a version check to on of my find modules in KDE. So I started and asked myself why do I have to right so much code to get a version check. This should be done by CMake and not by me. So I've created a function find_package_version_check() you can use. All you have to do is to

Re: [CMake] find_package_version_check

2009-08-13 Thread Andreas Schneider
On Thursday 13 August 2009 10:55:30 Eric Noulard wrote: 2009/8/13 Andreas Schneider m...@cynapses.org: Hi, I had to add a version check to on of my find modules in KDE. So I started and asked myself why do I have to right so much code to get a version check. This should be done by CMake

[CMake] CMake on Ohloh

2009-05-14 Thread Andreas Schneider
Hi, CMake is now a language on Ohloh. It started to scan today. I think we will get interesting results in the next days. https://www.ohloh.net/languages/74 Cheers, -- andreas signature.asc Description: This is a digitally signed message part.

Re: [CMake] CPack - Beta or Alpha version?

2009-05-14 Thread Andreas Schneider
On Wednesday 13 May 2009 15:39:34 Brandon Olivares wrote: Hi, Hi, I was looking at the list of CPack variables. There are variables to set the major, minor, and patch version numbers. But isn't there anything to set a beta or alpha number? For instance, what if I wanted a 1.0B1 version?

[CMake] CMake 2.6.3 - Fix set cache FORCE and -D command line to work together

2009-03-13 Thread Andreas Schneider
Hi, what means - Fix set cache FORCE and -D command line to work together I've recognized, that -DFOO=something doesn't overwrite cache settings anymore which are set to FORCE. Is this true? If yes, then the documentation should be updated. -D states: This option may be used

Re: [CMake] Cross Compilang and NSIS

2009-03-10 Thread Andreas Schneider
On Monday 09 March 2009 12:01:23 Hendrik Sattler wrote: Andreas Schneider schrieb: My problem is that cmake thinks that it is a windows version... No, it still knows that it runs on Linux and can use the native tools if you tell it so in the toolchain file. Strange. So you successfully

Re: [CMake] Cross Compilang and NSIS

2009-03-09 Thread Andreas Schneider
On Sunday 08 March 2009 17:22:48 Andreas Schneider wrote: Hi, Hi, Now I get the error. File: Returning to: /usr/src/packages/BUILD/libssh-0.2.99.svn251/build/_CPack_Packages/win32/N SIS/libssh-0.2.90- win32 File: /usr/src/packages/BUILD/libssh-0.2.99.svn251/build/_CPack_Packages/win32/N

[CMake] Cross Compilang and NSIS

2009-03-08 Thread Andreas Schneider
Hi, I've cross compiled libssh with mingw for windows today using the openSUSE Build Service. http://download.opensuse.org/repositories/home:/gladiac:/win32/win32/i586/ I'm currently trying to create a NSIS installer on Linux for libssh but it gives me some bad errors. The first error was

Re: [CMake] Cross Compilang and NSIS

2009-03-08 Thread Andreas Schneider
On Sunday 08 March 2009 18:01:41 Hendrik Sattler wrote: nsis can run natively on linux, there is no need for any wrappers. E.g. on I know that that there is a native version cause I'm using it. I'm not stupid :) Debian: $ makensis -VERSION v2.37-3 Latest release: nsis-2.44-src/SConstruct

Re: [CMake] Complaint about if..endif

2008-11-24 Thread Andreas Schneider
On Sunday 23 November 2008 17:43:53 cyril_wobow wrote: Sure, I guess we are all here because CMake is a very powerful suite, with tons of functionalities and useful abstractions. But I challenge anyone to seriously tell me that he/she enjoys writing CMake script. As soon as you don't have to

Re: [CMake] the switch to subversion?

2008-09-23 Thread Andreas Schneider
On Tuesday 23 September 2008 03:42:11 Philip Lowman wrote: Bill, Is a switch to Subversion still planned at some point in the near future for CMake? Hopefully not. On occasion I have wanted to checkout the latest CVS from work and am reminded of the corporate firewall. =) You want git,

Re: [CMake] how to link with a system library ?

2008-09-22 Thread Andreas Schneider
On Sunday 21 September 2008 18:58:50 Hendrik Sattler wrote: pointing to this CMake module http://code.google.com/p/cmake-modules/source/browse/trunk/Modules/GTK2/F in dGTK2.cmake I haven't tested it though. Looks not too good (it doesn't even use foreach for this endless list of doing

Re: [CMake] [Cmake] Absolute paths in .cmake, .txt files

2008-09-04 Thread Andreas Schneider
On Thursday 04 September 2008 16:31:17 Bo Huang wrote: It seems there is a ${CMAKE_CURRENT_SOURCE_DIR}) variable. Can I use this in a line such as: INCLUDE(C:/Users/BHuang/Documents/myProj/myProjSubDir/cmake_install.cmake ) To make it

Re: [CMake] Copying directories and build error

2008-09-04 Thread Andreas Schneider
On Thursday 04 September 2008 16:57:18 Bill Hoffman wrote: You don't CMake does not support the relocation of build trees. http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_use_full_paths.2C_or_can_I_copy_my_build_tree.3F -- andreas -- http://www.cynapses.org/ - cybernetic synapses

Re: [CMake] anybody crosscompiling and using pkg_config ?

2008-07-19 Thread Andreas Schneider
Alexander Neundorf wrote: Hi, Hi Alex, when crosscompiling, pkg_config shouldn't find packages for the host system, but for the target system. Attached is a patch against current cmake cvs which tries to do that by setting the env var PKG_CONFIG_LIBDIR to /usr/lib/pkgconfig and

Re: [CMake] Valgrind arguments

2008-07-10 Thread Andreas Schneider
Milan Dorak wrote: Hey guys, Hi, how can i pass valgrind during the MEMCHECK argument ? I need to run valgrind with --trace-children=yes and I can't figure out how to do it. according to the source code there are 3 variables CTEST_MEMORYCHECK_COMMAND CTEST_MEMORYCHECK_SUPPRESSIONS_FILE

Re: [CMake] Valgrind arguments

2008-07-10 Thread Andreas Schneider
Andreas Schneider wrote: Milan Dorak wrote: Hey guys, Hi, how can i pass valgrind during the MEMCHECK argument ? I need to run valgrind with --trace-children=yes and I can't figure out how to do it. according to the source code there are 3 variables CTEST_MEMORYCHECK_COMMAND

Re: [CMake] ctest: how to skip tests?

2008-07-02 Thread Andreas Schneider
Dave Milter wrote: Hi. I have project with usage of cmake and ctest. Now I need to add tests, that may have sense or not have sense to run on certain machine. For example, if we have installed MySql and libmysql there is sense to test part of code working with mysql, but no sense to check

Re: [CMake] Find PerlLibs fails;

2008-06-30 Thread Andreas Schneider
Georgios Petasis wrote: Hi all, Hi, some time ago I improved the FindPerlLibs.cmake module, maybe you want to give it a try. http://cmake-modules.googlecode.com/svn/trunk/Modules/PerlLibs/FindPerlLibs.cmake It uses the perl executeable to determine all needed paths. -- andreas

Re: [CMake] Finder repository

2008-05-26 Thread Andreas Schneider
Pau Garcia i Quiles wrote: The problem with a restricted-access repository is we would probably have the same issues we have now: you need to ask for access, which would not be granted to you until you are well-known and/or you've got some really interesting contribution. Not a big

Re: [CMake] Finder repository

2008-05-25 Thread Andreas Schneider
Pau Garcia i Quiles wrote: There is the unofficial http://code.google.com/p/cmake-modules/ Where I'm the only developer and as nobody is interested in helping I update it rarly. So if someone is interested in helping let me know. I would setup a new git repository on. Official finders

Re: [CMake] Linking to a library: libfoo.so vs libfoo.so.1.2

2008-05-19 Thread Andreas Schneider
Mathieu Malaterre wrote: Hi there, I am inspecting a system using cmake, this system has the following: $ ls -al /lib/libuuid.so.1* lrwxrwxrwx 1 root root14 2008-01-10 17:51 /lib/libuuid.so.1 - libuuid.so.1.2 -rw-r--r-- 1 root root 10720 2007-12-06 16:55 /lib/libuuid.so.1.2 the

Re: [CMake] ADD_DEFINITIONS with output from shell

2008-05-07 Thread Andreas Schneider
David Sveningsson wrote: Hi, I am converting some makefiles for a large application. One of the makefiles adds the following to CFLAGS: -DSVN_REVISION=\`svn info|grep Revision| awk '{print $2}'`\ (it runs some shell commands which will output the current subversion revision) I tried

Re: [CMake] ADD_DEFINITIONS with output from shell

2008-05-07 Thread Andreas Schneider
David Cole wrote: See also: http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindSubversion.cmake?root=CMakeview=markup http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindSubversion.cmake?root=CMakeview=markup After a FIND_PACKAGE(Subversion) call, simply use the

Re: [CMake] Coverage

2008-04-04 Thread Andreas Schneider
Cedric Pinson wrote: Hi, I would like to add coverage on my project with a valgrind pass i saw that there is something with dashboard. But when i run ctest it says CTestConfiguration.ini I dont need to submit result or anything like that i would like to dispay the coverage and the result of

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Andreas Schneider
Alan W. Irwin wrote: (2) The cpack section needs expansion (especially since cpack is so poorly documented elsewhere). Are you sure that the PDF is the right place to expand the CPack documentation and not the wiki? -- andreas -- http://www.cynapses.org/ - cybernetic synapses

Re: [CMake] Cdash, triggersite

2008-04-03 Thread Andreas Schneider
Gerhard den Hollander wrote: Im trying to setup a Cdash dashoard, most of it seems to go fine, but the submissions do not show up on the dashboard One thing that struck me as odd is the Trigger Site: line http://172.17.0.112/cgi-bin/Submit-Random-TestingResults.cgi You have to modify the

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-02 Thread Andreas Schneider
Maik Beckmann wrote: Hello List, Even if the cmake video cast of the talk given by Bill at fosdem 2008 not shown to be available here http://fosdem.org/2008/media/video it is: http://ftp.heanet.ie/mirrors/fosdem-video/2008/maintracks/FOSDEM2008-cmake.ogg The slides seem not to be available

Re: [CMake] uname -p - unknown

2008-03-28 Thread Andreas Schneider
Mathieu Malaterre wrote: On Fri, Mar 28, 2008 at 12:16 PM, Mathieu Malaterre [EMAIL PROTECTED] wrote: Hi according to the doc of uname: ... -p, --processor print the processor type or unknown ... Well this is happening in my case: $ uname -a Linux arrakis

Re: [CMake] Linux 64 bit woes

2008-03-27 Thread Andreas Schneider
Robert Bielik wrote: I'm compiling under Ubuntu and want to generate 64 bit code. Is there a way to get cmake to generate the correct settings in the Makefile ? I tried adding -m64 (and -march=x86-64) but the __x86_64__ define does not seem to be set. I.e. when using This define is set by

[CMake] CTest and GIT

2008-03-05 Thread Andreas Schneider
Hi, has someone CTest running with git? I can clone the repository, but it always tries to use cvs to update. See attached config file. -- andreas -- http://www.cynapses.org/ - cybernetic synapses set(CTEST_SOURCE_DIRECTORY /tmp/testing/csync/nightly/source/)

Re: [CMake] CMake talk at FOSDEM

2008-03-05 Thread Andreas Schneider
Mike Jackson wrote: Is there an archive of the video from this session? Not yet. It will be available in a view days. http://ftp.heanet.ie/mirrors/fosdem-video/2008/maintracks/ -- andreas -- Mike Jackson Senior Research Engineer Innovative Management Technology Services

Re: [CMake] cmake community site

2008-03-04 Thread Andreas Schneider
Alexander Neundorf wrote: I'd say not yet. For now it would probably be better to just help working on the wiki, there you can also write tutorials etc. A solution for additional cmake modules is needed. There is also a cmake site at google There is, but nobody is interested to help with

Re: [CMake] Detecting linux distro?

2008-03-03 Thread Andreas Schneider
Kedzierski, Artur CIV NSWC Corona, PA53 wrote: I had to do that too. I ended up going by distribution-specific file in /etc. For example, Red Hat: /etc/redhat-release Slackware: /etc/slackware-version Slamd64: /etc/slamd64-version To determine whether it is 64-bit vs

Re: [CMake] check_include_file macro

2008-03-01 Thread Andreas Schneider
Steven Van Ingelgem wrote: Hi, Hi, I'm testing with the check_include_file macro but I have an issue with it. I need it to stop working if the include file is not found, and re-check the next time it is ran... normally check_include_file is to check for standard include files like

Re: [CMake] absolute rpath

2008-02-29 Thread Andreas Schneider
Jörg Becker wrote: On Friday, 29. February 2008 00:18:18 Alexander Neundorf wrote: So you need your program to be executable anywhere in the file system, and it also has to find its shared libs ? Would setting PATH be a alternative ? Yes, setting PATH or LD_LIBRARY_PATH in a shell wrapper is

Re: [CMake] How to build a library divided in many directories ?

2008-02-25 Thread Andreas Schneider
packadal wrote: Looks like the right way to do this would be to write a CMakeLists.txt in each subdirectory, as this would be cleaner, and much more changes-friendly, but I can't seem to build only one library when I do it this way. example of my source tree : + src | - Application | -

[CMake] CMake talk at FOSDEM

2008-02-24 Thread Andreas Schneider
Hi Hackers, at 12:00 CET you can watch Bill's talk [1] about CMake at the FOSDEM [2]. [1] http://streaming.linux-magazin.de/en/program_fosdem.htm [2] http://www.fosdem.org/2008/schedule/events/cmake -- http://www.cynapses.org/ - cybernetic synapses signature.asc Description: OpenPGP

Re: [CMake] Re: FindBoost.cmake: please test

2008-01-20 Thread Andreas Schneider
Rodolfo Lima wrote: Again, it would be good if we could choose which version to detect. If I have 1.33.0 and 1.34.1, I want my application to use 1.34.1 and beyond. You can simply overwrite the variable _boost_TEST_VERSIONS. -- andreas -- http://www.cynapses.org/ - cybernetic

Re: [CMake] FindBoost.cmake: please test

2008-01-20 Thread Andreas Schneider
Miguel A. Figueroa-Villanueva wrote: I guess there has been some difficulties with the boost version number. My suggestion would be to use a directory that includes the version number and extract it from there (e.g., boost_include_dir - .../include/boost-X.YY). Then you could just have a

Re: [CMake] FindBoost.cmake: please test

2008-01-19 Thread Andreas Schneider
Andreas Pakulat wrote: Hi, Hello, apparently the FindBoost.cmake I attached to http://www.cmake.org/Bug/view.php?id=6257 isn't quite perfect - actually not even close. The last few days I've worked with Andreas Schneider to make it work on his and my own system. However thats just

Re: [CMake] Find*.cmake variable naming

2008-01-18 Thread Andreas Schneider
Andreas Pakulat wrote: On 17.01.08 23:41:54, Andreas Schneider wrote: Andreas Pakulat wrote: On 14.01.08 23:40:39, Andreas Schneider wrote: Rodolfo Schulz de Lima wrote: Hi, I'd like to comment on the Find*.cmake variable naming procedure adopted by cmake. Right now I have to look at some

Re: [CMake] Find*.cmake variable naming

2008-01-17 Thread Andreas Schneider
Andreas Pakulat wrote: On 14.01.08 23:40:39, Andreas Schneider wrote: Rodolfo Schulz de Lima wrote: Hi, I'd like to comment on the Find*.cmake variable naming procedure adopted by cmake. Right now I have to look at some Find*.cmake files to see what are the output variables they create. Some

Re: [CMake] Finding out gcc version

2008-01-16 Thread Andreas Schneider
Andreas Pakulat wrote: Hi, does anybody know of a built-in way of determining the c++ compiler version? Specifically for GNU gcc? Or do I have to run CMAKE_CXX_COMPILER with --version and extract the information myself?

Re: [CMake] Find*.cmake variable naming

2008-01-15 Thread Andreas Schneider
Andreas Pakulat wrote: On 14.01.08 23:40:39, Andreas Schneider wrote: Rodolfo Schulz de Lima wrote: Hi, I'd like to comment on the Find*.cmake variable naming procedure adopted by cmake. Right now I have to look at some Find*.cmake files to see what are the output variables they create. Some

Re: [CMake] New FindBoost

2008-01-15 Thread Andreas Schneider
Rodolfo Lima wrote: Andreas Schneider escreveu: For much better FindBoost.cmake module take a look at I see that there's no way to specify which version you might need. Yes, you could check BOOST_VERSION *after* FindBoost returns, but this don't cope with the situation when you have more

Re: [CMake] Find*.cmake variable naming

2008-01-14 Thread Andreas Schneider
Rodolfo Schulz de Lima wrote: Hi, I'd like to comment on the Find*.cmake variable naming procedure adopted by cmake. Right now I have to look at some Find*.cmake files to see what are the output variables they create. Some packages create a *_LIBRARY, others *_LIBRARIES, others *_INCLUDE_DIRS

Re: [CMake] Re: Migration to subversion

2008-01-05 Thread Andreas Schneider
Joshua Jensen wrote: * Con: Requires an SSH daemon to push data. I just barely got this going (through copSSH) with the replacement git-shell, because I don't want people to have shell access to my machine. Locking down user permissions and directories on a Windows box stinks. I've got to

Re: [CMake] usign doxygen with cmake

2007-12-26 Thread Andreas Schneider
Ramazan Girgin wrote: Hi, How can auto generate doxygen html file in cmake ?Is there any example project about this? Ramazan Hi Ramzan, take a look at the doc directory at http://dev.lomoco.org/browser It will add a new custom target 'make doc' if doxygen is found. -- andreas

Re: [CMake] Re: Migration to subversion

2007-12-22 Thread Andreas Schneider
Rodolfo Schulz de Lima wrote: That's great news. Since I've never been involved in a CVS - SVN migration, I couldn't help so much with it. Also, excuse me for assuming you weren't using svn and trying to sell it to you :) Before you switch to svn please use git. It's much better than the pain

Re: [CMake] CMake Book ?

2007-11-14 Thread Andreas Schneider
Stephen Collyer wrote: Pau Garcia i Quiles wrote: Quoting Stephen Collyer [EMAIL PROTECTED]: I'm finding the information in the wiki too scattered to find out what I need to know about cmake easily, but the cmake book no longer seems to be available. Anyone know where I can get hold of one

Re: [CMake] Problems using Boost and VS 8 Express

2007-08-30 Thread Andreas Schneider
Gheorghe Postelnicu wrote: Hi Mike, Thanks for the suggestion. I forgot to mention in my previous mail that I am using CMake 2.4.7 (installed using the installer), but although I found mentions of these library names on this mailing list, there is no such variable in the version of

Re: [CMake] Patch to FindBoost.cmake.

2007-08-01 Thread Andreas Schneider
and the thing that I seemed to have noticed was that my app would end up linking against ALL the boost libraries. I usually only link against 3 of them.. I didn't recheck after Andreas Schneider comitted the change, but now you should be able to do target_link_libraries(XMLText ${BOOST_FOO_LIBRARY

Re: [CMake] Call for Module maintainer volunteers

2007-07-26 Thread Andreas Schneider
Mathieu Malaterre wrote: On 7/25/07, Hendrik Sattler [EMAIL PROTECTED] wrote: Am Mittwoch 25 Juli 2007 17:40 schrieb Andreas Schneider: If someone is using GTK2 I've created a nice Module too. But it isn't used at WengoPhone at the moment and I'm not a Gnome guy. Maybe someone else wants

Re: [CMake] Call for Module maintainer volunteers

2007-07-25 Thread Andreas Schneider
Bill Hoffman wrote: If you are interested in maintaining an existing module in CMake, please respond to the list. Hi Bill, I would maintain the FindBoost.cmake Module. http://cmake-modules.googlecode.com/svn/trunk/Modules/Boost/FindBoost.cmake I've improved the FindPerlLibs.cmake Module

Re: [CMake] Patch to FindBoost.cmake.

2007-07-24 Thread Andreas Schneider
Václav Haisman wrote: Hi, Hello, the FindBoost.cmake does not detect Boost installed by binary package from the Boost Consulting. The patch attached to http://www.cmake.org/Bug/bug.php?op=showbugid=4881pos=0 fixes it for me. I've rewritten the FindBoost.cmake from scratch some time ago. And

Re: [CMake] Patch to FindBoost.cmake.

2007-07-24 Thread Andreas Schneider
Andreas Pakulat wrote: On 24.07.07 07:35:34, gga wrote: Andreas Schneider wrote: I've rewritten the FindBoost.cmake from scratch some time ago. And we have improved it at OpenWengo. I suggest to ship this version in CMake. http://cmake-modules.googlecode.com/svn/trunk/Modules/Boost

Re: [CMake] install and rpath question

2007-04-23 Thread Andreas Schneider
Mathieu Malaterre wrote: Hello, I cannot figure out how to install a library so that the installed version use the install_rpath. # By default rpath works in built tree: ADD_LIBRARY(foo SHARED foo.c) ADD_LIBRARY(bla SHARED bla.c) TARGET_LINK_LIBRARIES(bla foo) INSTALL( TARGETS bla

  1   2   >