[CMake] How to replace get_target_property(LOCATION)?

2014-04-04 Thread Andreas Schneider
perty(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 Schn

Re: [CMake] REGEX REPLACE help

2013-03-18 Thread Andreas Schneider
_JAVA_SETTINGS_LIST "${__JAVA_SETTINGS}") +foreach (_line ${_JAVA_SETTINGS_LIST}) +if ("${_line}" MATCHES ".*java.home") +string(REGEX REPLACE "^ *java.home = (.+)/jre$" "\\1" _JAVA_PROPERTIES_HOME "${_line}") +

[CMake] REGEX REPLACE help

2013-03-18 Thread Andreas Schneider
/lib64 /lib /usr/lib java.runtime.name = OpenJDK Runtime Environment Thanks for the help. -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered by www.kitware.com Visit other Kitwar

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

2013-03-14 Thread Andreas Schneider
ks for the mail. I've reviewed 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 -- Pow

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

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 : > > On Sat, Dec 10, 2011 at 3:46 PM, Andreas Schneider wrote: > >> On Saturday 29 October 2011 23:34:50 Frank Glinka wrote: > >>> Hi, > >> > >> Hi, > > >

Re: [CMake] Java Script Changes

2011-12-10 Thread Andreas Schneider
> command. Attached 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 G

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

2011-12-10 Thread Andreas Schneider
ed for calling the 'jar' tool. > > Will there be progress towards supporting manifest information anytime > soon within cmake? Open a feature request in the bugtracker. -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.org

Re: [CMake] Java support - install with components

2011-12-10 Thread Andreas Schneider
E _DESTINATION _COMPONENT) Sorry, this is not acceptable. If component should be added, it should be optional. Patches are welcome :) -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.orga...@cryptomilk.org -- Powered by www.kitw

Re: [CMake] CMake Java Support

2011-02-10 Thread Andreas Schneider
-Z.img > > Get: > x.jar > classpath1 > -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

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}_CLASS

Re: [CMake] CMake Java Support

2011-01-14 Thread Andreas Schneider
bles have the wrong ; or : or whatever and what it should look like. I already did some things to get 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.

Re: [CMake] CMake Java Support

2011-01-14 Thread Andreas Schneider
set. Then you copy the jar file to this directory too. > After I build my JNI Library 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,

Re: [CMake] CMake Java Support

2011-01-14 Thread Andreas Schneider
put folder for build/test (not > install task)? > > After I build my JNI Library 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 And

Re: [CMake] CMake Java Support

2011-01-11 Thread Andreas Schneider
uld never use ant. c) I don't see a reason to use 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

[CMake] CMake Java Support

2011-01-11 Thread Andreas Schneider
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] is an enterprise-class open source Certificate Authority. The project is written in serveral different laguages (C, C++ and

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

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

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 > >

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

2010-10-16 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 Jav

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 Jav

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'

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'

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 m

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}/C

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 wo

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

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 : > > 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.

[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] 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 versio

[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.

[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 t

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. Stra

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

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/SConstru

[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 tha

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 t

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

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

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] [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 > > INCLUDE("${(CMAKE_CURRENT_SOURCE_DIR})/cmake_

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 /usr/loca

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_CO

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 C

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 part

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 improvem

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 hav

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 quest

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=CMake&view=markup After a FIND_PACKAGE(Subversion) call, simply use the Subversion_WC_

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 sea

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 va

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 CTes

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] 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 2.6.18-4-

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 th

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

[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/") set(CTEST_BINARY_DIRE

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 wi

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 v

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

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 sh

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 | - A

[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 digit

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 fi

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 synaps

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

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 na

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 >>&g

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? http://dev.openwengo.org/trac/openwengo/trac.fcgi/browser/

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 >

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 >>&g

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_DI

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 t

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. -- andre

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 pa

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 ca

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 Fin

Re: [CMake] Patch to FindBoost.cmake.

2007-07-31 Thread Andreas Schneider
e above FindBoost.cmake 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 >

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 mo

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 Modu

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. >>> >>> htt

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 > fixes it for me. I've rewritten the FindBoost.cmake from scratch some time a

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( > TAR

Re: [CMake] How to detect 32/64 architecture

2007-03-09 Thread Andreas Schneider
Luigi Calori wrote: > Thanks a lot, it worked. > Just for knowing... what is > > ow_check_cxx_compiler_flag It is a copy from CheckCXXCompilerFlag.cmake, which is shipped with CMake 2.4.6 now. > is it a command or one of your macro? > does it test the existance of one compiler flag? It checks f

Re: [CMake] How to detect 32/64 architecture

2007-03-09 Thread Andreas Schneider
Luigi Calori wrote: > Is there a macro or variable to detect 32/64 architecture under Linux > (possibly also under windows) > In order to mimic pre-existent builds we have been asked to install on > lib64 if on a 64 architecture and lib or luib32 if appropriate > Hi Luigi, I check the void point

[CMake] FindGTK2

2007-03-03 Thread Andreas Schneider
Hi, I have rewritten the FindGTK2.cmake from scratch. You can find it at: http://cmake-modules.googlecode.com/svn/trunk/Modules/GTK2/FindGTK2.cmake Please test and send patches :) Thanks, -- andreas -- http://www.cynapses.org/ - cybernetic synapses signature.asc Description: Open

Re: [CMake] FindPythonLibs

2007-02-22 Thread Andreas Schneider
Karl Merkley wrote: > > I'm linking an app with the python library and I have a requirement to > link with the shared library not the static library. It appears that > FindPythonLibs has no way of specifying shared vs. static. The shared > lib actually is installed in /usr/lib. The static lib

Re: [CMake] cmake compile on 64-bit SUSE

2007-02-20 Thread Andreas Schneider
George McConnell wrote: > I cannot get get cmake-2.4.6 to compile on a 64-bit SUSE Enterprise > Server. I suspect this is an ncurses issue, but I can't find a resolution. > > I have the ncurses development package installed. > There is a cmake 2.4.6 package for SLE 10 on the build service http:

Re: [CMake] cmake compile on 64-bit SUSE

2007-02-20 Thread Andreas Schneider
George McConnell wrote: > I cannot get get cmake-2.4.6 to compile on a 64-bit SUSE Enterprise > Server. I suspect this is an ncurses issue, but I can't find a resolution. > > I have the ncurses development package installed. > There is a cmake 2.4.6 package for SLE 10 on the build service http:

[CMake] Does CPack rename files?

2007-02-14 Thread Andreas Schneider
Hi, I've created a DefineCPackDefaults.cmake for our CMake project to get a 'make package_source' target. In the source directory I have: ls wengophone/src/model/coipmanager/filesessionmanager/src/ FileSessionManager.cpp IReceiveFileSession.cpp SendFileSession.cpp IFileSession.cpp ISen

[CMake] Re: [Wengophone-devel] Feedback on CMake build system

2007-02-10 Thread Andreas Schneider
Lukas Oberhuber wrote: Hi Lukas, > I wanted to give some feedback on my experience of the CMake/OWBuild build > system as far as using it to build wengophone 2.1 (I haven't done any > editing of makefiles) on Windows XP and MSVC2005. > > > > 1) I think the speed is great! Fantastic actually.

Re: [CMake] IDE directly supporting CMakeLists.txt?

2007-02-06 Thread Andreas Schneider
wedekind wrote: > Hello all, Hi, > > does anyone know of an IDE that directly supports CMakeLists.txt as its > build-configuration files? I know that kdevelop supports it, but it seems as > if CMake-support is not yet fully integrated and working. Are there > alternatives? there is a really cool

[CMake] FinXXX.cmake messages

2007-01-11 Thread Andreas Schneider
Hi, we get some mails on the wengophone mailing list like. While building using Cmake I get following error: CMake Error: Could not find XML2 Any ideas how to fix this? So in the FindXXX.cmake file for if (XML2_FIND_REQUIRED) message(FATAL_ERROR "Could no

Re: [CMake] Enhancement submission...

2006-12-28 Thread Andreas Schneider
should look for libraries not a bash script!!! -- andreas > > > -- Mike Jackson Senior Research Engineer > Innovative Management & Technology Services > > > On Dec 27, 2006, at 6:21 PM, Andreas Schneider wrote: > >> Mike Jackson wrote: >>> What is the best

Re: [CMake] Enhancement submission...

2006-12-27 Thread Andreas Schneider
Mike Jackson wrote: > What is the best way to submit an enhancement patch for the > FindBoost.cmake file? I have added some CMake code so that you can use > the Boost Libraries kinda like the Qt.. for example in your own > CMakeLists.txt file if I only wanted to use the Program_Options library > fr

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

2006-12-21 Thread Andreas Schneider
Axel Roebel wrote: > > Hi Andreas, Hi Axel, > > obviously you've found a simpler method to achieve the same goal > and your tests are more complete. It seems to me, however, that it has the > same weaknesses as my current version > > - libperl.so is not found (at least not on Fedora and redhat

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

2006-12-18 Thread Andreas Schneider
Axel Roebel wrote: > Hi, > Hello, > I just started to add swig support to our project > http://sourceforge.net/projects/sdif. The project supports > swig bindings to perl, python and java. > > I instantly tried the available > cmake modules: notably FindSWIG.cmake > and FindPerlLibs.cmake > >

Re: [CMake] Can't use Boost ??

2006-10-17 Thread Andreas Schneider
I have created a much better FindBoost.cmake module. It isn't tested on all plattforms yet, but it should work just fine under Linux and Mac. As soon as it is tested, I'll try to get it upstream. You can find it here: http://dev.openwengo.com/trac/openwengo/trac.cgi/browser/wengophone-ng/trunk/cm

  1   2   >