Re: [CMake] Again multiple subdirs

2012-02-07 Thread Andreas Pakulat
mmon.c. One time for liba and > the other one for libb. > > What is the best way to force common.c to be compiled just ones? If a and b are static libs, create a static lib for the common code and link both against it. If a and b are shared libs, make the common code a shared lib too and

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] - 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] Generating CMake scripts from Visual Studio solutions & projects?

2012-02-18 Thread Andreas Mohr
t need more stability and could thus keep subscribing to "experimental", whereas "master" currently is (too?) old. If someone would like to create CMakeLists with it or use .vcproj in their build, then simply ponder making use of the converter (and possibly let me know of any is

[CMake] Suspecting major install ordering issue (causing BundleUtilities fixup_bundle() / verify_app() failure)

2012-02-22 Thread Andreas Mohr
on!!) install code. Required dependencies' install() handling should predominantly be processed _first_ and _then_ any custom code of the parent config should be executed. While a (parent) cmake_install.cmake should be configurable for insertion of custom code either at the beginning or end

[CMake] Question regarding source tree structure and how to find libraries easily within that structure

2012-02-26 Thread Andreas Guther
o other (good) solution than creating find modules, is it possible to place the find modules (Library_n.cmake files, right?) within the library folders? I ask this, because I think it would make it much more easy to maintain them. Kind regards, Andreas -- Powered by www.kitware.com

Re: [CMake] Question regarding source tree structure and how to find libraries easily within that structure

2012-03-04 Thread Andreas Guther
build and create workspace etc. from there. The created workspace should then also build all necessary libraries for the application. Any ideas on this? Kind regards, Andreas -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] Generated library location

2012-03-04 Thread Andreas Pakulat
nd-modules for all 3 provide the absolute paths to the libraries in CMake variables which you can use with target_link_libraries directly and it'll just work. Andreas -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] MSVC_VERSION for VC11?

2012-03-05 Thread Andreas Pakulat
ks on windows (and no I'm not talking about cygwin). Andreas -- 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://www.cmake.org/Wiki/CMake_FAQ Follow

[CMake] VS2010: /subsystem:console only in debug build

2012-03-06 Thread Andreas Haferburg
t;/subsystem:windows" works the way it does seems like a bug. So what's the proper way to achieve what I want? I'm using CMake 2.8.7 on Win 7 with VS2010. Cheers Andreas -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensou

Re: [CMake] Ninja + CMake on a dashboard?

2012-03-06 Thread Andreas Pakulat
y from that. In that sense I'd expect cross-platform apps to have something like add_executable(foo WIN32 MACOSX_BUNDLE ${SRCS}) since cmake will simply ignore the windows/macosx specific flags on platforms that they don't apply on. For a CMake release I'd say that the gener

Re: [CMake] Ninja + CMake on a dashboard?

2012-03-06 Thread Andreas Pakulat
On 06.03.12 18:47:05, Peter Collingbourne wrote: > On Tue, Mar 06, 2012 at 07:09:03PM +0100, Andreas Pakulat wrote: > > On 06.03.12 17:10:41, Peter Collingbourne wrote: > > > On Tue, Mar 06, 2012 at 10:41:19AM -0500, David Cole wrote: > > > > 2 things I

Re: [CMake] Running executables - local targets vs. system binaries

2012-03-06 Thread Andreas Pakulat
will automat‐ ically be replaced by the location of the executable created at build time. So either the manual is wrong and one needs to manually construct the correct paths even for in-project targets or cmake should prefer an existing target over an executable reachable via PATH. Andreas -

Re: [CMake] Forcibly run 'moc' on Qt files that are NOT part of the build

2012-03-07 Thread Andreas Pakulat
filenames for the include depending on which of the above you use (foo.moc vs moc_foo.cpp vs. moc_foo.cxx or something like that). If none of them is an option for you then I guess using add_custom_target and add_dependencies is the way to go. Andreas -- Powered by www.kitware.com Visit other

Re: [CMake] Forcibly run 'moc' on Qt files that are NOT part of the build

2012-03-08 Thread Andreas Pakulat
On 08.03.12 09:50:55, Michael Jackson wrote: > On Mar 7, 2012, at 11:43 AM, Andreas Pakulat wrote: > > > On 07.03.12 10:10:27, Michael Jackson wrote: > >> In an effort to speed up the build of a project that uses Qt (and moc) I > >> tried an alternate approach with

Re: [CMake] Order of compilation of Java files

2012-03-08 Thread Andreas Pakulat
for CMake to automatically > determine the dependencies? I've looked at using CMake to build some Java files (in an otherwise C++/C project) some time ago and the result was that Java-support simply does not fit with CMake's language and functions - at least not in the way include_direct

Re: [CMake] how to modify scope of imported library

2012-03-08 Thread Andreas Pakulat
On 08.03.12 19:24:00, Cong Ma wrote: > Hi, > > Imported library has scope in the directory in which it is created and > below. > > If I want to use this library in parent scope, what should I do? Add the imported library in the top-level cmake file, not a subdirectory. Andre

[CMake] Defer compiler to different file in Visual Studio

2012-03-12 Thread Andreas Haferburg
ile, set the compile command to compile the corresponding cpp file. I can't imagine it being that hard, since one would merely have to change the file extension in the command line from cpp to lzz. Any ideas? I'm not sure though, this might be more of a Visual Studio-specific questio

Re: [CMake] Defer compiler to different file in Visual Studio

2012-03-12 Thread Andreas Haferburg
On 12-Mar-12 9:36 PM, Bill Hoffman wrote: On 3/12/2012 3:28 PM, Andreas Haferburg wrote: Hello, I'm currently evaluating Lazy C++ [1], which generates both header and source files. I'm using add_custom_command() to invoke the generator on *.lzz file, and for each .lzz file it gen

Re: [CMake] Defer compiler to different file in Visual Studio

2012-03-12 Thread Andreas Haferburg
Bill, thank you for your replies. I'll be writing a macro for Visual Studio then which finds the corresponding cpp file and compiles it. Cheers Andreas On 12-Mar-12 10:26 PM, Bill Hoffman wrote: On 3/12/2012 5:00 PM, Andreas Haferburg wrote: Yea, that's pretty much what I

Re: [CMake] Order of compilation of Java files

2012-03-12 Thread Andreas Pakulat
On 12.03.12 08:42:44, Kedzierski, Artur CIV NSWC Corona, PA13 wrote: > Andreas, > > Do you mind sharing a CMakeLists.txt for one of your Java projects? > Thank You. Sorry, thats not possible since its closed source. Andreas -- Powered by www.kitware.com Visit other Kitware

Re: [CMake] Couple of library/link questions

2012-03-20 Thread Andreas Pakulat
RARY(libevent_core ${CoreSrcFiles}) > ADD_LIBRARY(libevent_extras ${ExtraSrcFiles}) > ADD_LIBRARY(libevent) > TARGET_LINK_LIBRARIES(libevent libevent_core libevent_extras) > > but this generates a warning/error, listing the two libraries in Whats the error? It should just work. A

Re: [CMake] make install/strip does not strip static libraries

2012-03-27 Thread Andreas Pakulat
ions/classes etc.). Looking at strip's commandline parameters it might be possible to manually strip just the symbols you don't want in the static library, but this cannot be done by cmake automatically. So you'll have to create a custom post-install command to do this for you. Andrea

Re: [CMake] [mingw + cmake] Porting code from mac os x to windows

2012-03-27 Thread Andreas Mohr
es a > binary for windows). You can see the command and the error below. > > cmake -DCMAKE_INSTALL_PREFIX=~/local/install/bpp/windows - > CMAKE_CXX_COMPILER=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-g++ Would possibly be useful to specify the second variable via -D, too :) HTH,

Re: [CMake] How to declare a text file as CMakeLists.txt dependency

2012-04-03 Thread Andreas Mohr
27;m currently not entirely sure, but IMHO using configure_file() should provide exactly that. I.e. configure_file() from original file to the destination file which you then file(STRINGS...), and it should trigger re-configure whenever the original file changed. Andreas Mohr -- Power

Re: [CMake] String error Cmake

2012-04-03 Thread Andreas Pakulat
s. So check you project wether you maybe disabled C++ support, or wether you maybe have C++ code in .c files. Andreas -- 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

Re: [CMake] String error Cmake

2012-04-03 Thread Andreas Pakulat
unction is implemented, the file is not part of the target thats being compiled. I'm guessing either you have some kind of mismatch between declaration and implementation or the file is really not in the list of sources to compile. If you can't find it and you can post the code, ad

Re: [CMake] How to package for Debian with Qt dependencies

2012-04-10 Thread Andreas Pakulat
u'll have to look into creating an APT repository with the corresponding package list and directory structure. This is something that CMake cannot do for you at the moment. Andreas -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensourc

Re: [CMake] How to package for Debian with Qt dependencies

2012-04-10 Thread Andreas Mohr
e, apt-get or some such). dpkg will not install missing dependencies. Probably the best thing to do is to push the package to some APT pool server out there (possibly even your own), then have a user add that URL to /etc/apt/sources.list.d/ and install everything automatically via apt-get Andre

Re: [CMake] FindPackage search priority for Boost

2012-04-11 Thread Andreas Naumann
Dear Petar, In cmake 2.8.3, you can set Boost_NO_SYSTEM_PATHS to true. Kind regards, Andreas Naumann Am 11.04.2012 15:04, schrieb Petar Marendic: Greetings, I recently noticed that FindPackage always begins its search for package Boost in /usr/lib and only thereafter in the directory

Re: [CMake] Adding QML files to project in CMakeLists.txt

2012-04-12 Thread Andreas Pakulat
ustom-command or configure_file. Andreas -- 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://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/un

Re: [CMake] CMake 2.7.8 cannot find boost installation While building PCL files.

2012-04-12 Thread Andreas Naumann
Hi, you could set Boost_DEBUG and Boost_DETAILED_FAILURE_MSG to true and have a look at the messages. I hope, this helps you. Andreas Am 12.04.2012 11:06, schrieb Joeri Friederich: Hi Im trying to build PCL (Point cloud library) files using Cmake. It needs a bunch if

Re: [CMake] find_package scoping mystery

2012-04-16 Thread Andreas Pakulat
find_package inside a function. - Use a macro instead of a function, macro's do not create a new scope - inspect all the find-modules you use and adapt them to use PARENT_SCOPE for variables when they do not end up in the cache. Andreas -- Powered by www.kitware.com Visit other Kitware op

Re: [CMake] cmake.org url seems down

2012-04-16 Thread Andreas Pakulat
ems and suggest an > alternative url. Works just fine here right now. I'm not aware of any mirror for cmake unfortunately. Andreas -- 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 che

Re: [CMake] find_package scoping mystery

2012-04-16 Thread Andreas Pakulat
On 16.04.12 06:04:33, Dave Abrahams wrote: > > on Mon Apr 16 2012, Andreas Pakulat > wrote: > > > On 16.04.12 01:37:58, Dave Abrahams wrote: > >> > >> consider this simple wrapper: > >> > >> function(my_find_package) > >>

Re: [CMake] target_link_libraries can't link shared libraries not listed in LD_LIBRARY_PATH

2012-04-23 Thread Andreas Pakulat
needed at all here or should not be needed. Just make sure to pass ${cblas} and ${atlas} to target_link_libraries. If that produces errors please provide the exact error message. Andreas -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/openso

Re: [CMake] Ignore install()

2012-04-23 Thread Andreas Schuh
installation rules add_subdirectory(src) Andreas On Wed, Apr 18, 2012 at 2:12 PM, Stefan Schindler wrote: > Hey guys, > > I wonder if it's possible to ignore install() commands in projects that > are being built using add_subdirectory(). > > I've got a project that builds

Re: [CMake] Reading flags that have been added with add_definitions

2012-04-23 Thread Andreas Schuh
e (command-line argument) srings (not CMake lists!) CMAKE_CXX_FLAGS, CMAKE_C_FLAGS, CMAKE_CXX_, CMAKE_C_FLAGS_. set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic") Andreas On Wed, Apr 18, 2012 at 10:23 AM, Mathias Gaunard wrote: > Is there a way to read back what flags were add

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread Andreas Mohr
latform cfg from HOST-side rather than TARGET-side attributes] Thus spake someone who still hasn't found the time to implement at least a semi-usable/-supported (static) CMake way of platform configuration type dependent switching in his V2C converter... :-P (1 year old bug report an

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread Andreas Mohr
tent-Type: text/plain; charset="ISO-8859-1" > > Andreas Mohr wrote: > > I'd think that Debug/Release isn't all that matters - > > what discussions all too conveniently leave out (possibly even the KDE > > Wiki-side target config discussion!) is pl

Re: [CMake] speeding up FIND_PACKAGE(Qt4 ...)

2012-05-08 Thread Andreas Pakulat
o not use the QT_USE_FILE and instead have target_link_libraries list all the Qt libraries individually. The FindQt4.cmake module provides a variable for each Qt library it finds, so you can decide for each target against which Qt components to link this particular target. Andreas -- Powered by www.ki

Re: [CMake] CheckSymbolExists fails with multiple header files

2012-05-12 Thread Andreas Mohr
be extended to document these potential include pre-conditions. The best way to verify define existence would obviously be a more _manual_ compile setup of a dummy source plus header include. Andreas Mohr -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitwa

Re: [CMake] Secret precompiled header support?

2012-05-15 Thread Andreas Mohr
ainful way, whereas many major SCM tools have quite flexible d2u handling builtin... (had to put this tag here for my admittedly less specific reply) BTW, I currently have an updated version of the "community-maintained" (see related tracker item) PCH support Module within my vcproj2c

Re: [CMake] How to deal with pre built 3rd party libs?

2012-05-15 Thread Andreas Pakulat
, you should look at the BundleUtilities module. Unlike what it name might suggest it works cross-platform, providing a suite of utility functions to assemble a standalone directory for your application and all its dependencies. Andreas -- Powered by www.kitware.com Visit other Kitware open-source pr

Re: [CMake] Packaging Best Practices for Linux

2012-05-16 Thread Andreas Pakulat
various packages are named in the distribution. Those distro-packages will then only have your own projects binaries. If the project is open-source, the distributions mit also be willing to do the packaging and ship them with their releases. Then you'd merely need to provide source packages for t

Re: [CMake] Packaging Best Practices for Linux

2012-05-16 Thread Andreas Pakulat
Hi, On Wed, May 16, 2012 at 8:19 PM, Michael Jackson < mike.jack...@bluequartz.net> wrote: > > On May 16, 2012, at 1:50 PM, Andreas Pakulat wrote: > > > Hi, > > > > Am Mittwoch, 16. Mai 2012 schrieb Michael Jackson : > > We have a small open-source

Re: [CMake] Linking to libraries that depend on other libraries

2012-05-17 Thread Andreas Pakulat
ARIES as a new argument mode, setting the property > instead of linking. Actually using link_interface_libraries in target_link_libraries works already in 2.6.4 I believe, since KDE uses that and requires that cmake version at the moment. Andreas -- Powered by www.kitware.com Visit other Kitwa

Re: [CMake] Linking to libraries that depend on other libraries

2012-05-17 Thread Andreas Pakulat
just allows to disable this behaviour by defining which dependent libraries a given library exposes in its public API and hence which dependent libraries an executable might need to link against in addition to the main library. Andreas -- Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] How to handle a submodule existing twice in a project?

2012-05-17 Thread Andreas Pakulat
ry of the parent of TestA - IMHO. Test/CMakeLists.txt can still use all targets from TestB, since target names are always valid across the complete project. Since TestA is a submodule, it should always be present in the sources anyway. Andreas -- Powered by www.kitware.com Visit other Kitwa

Re: [CMake] How to handle a submodule existing twice in a project?

2012-05-17 Thread Andreas Pakulat
argets from >> TestB, since target names are always valid across the complete project. >> >> Since TestA is a submodule, it should always be present in the sources >> anyway. >> >> Andreas >> > > I use functionality of TestB in Test. If TestA decides

Re: [CMake] Fwd: module and cmake

2012-05-19 Thread Andreas Pakulat
hen just put it > into the Find*.cmake in the HINTS section (again: cmake --help-command > find_library). > Luckily CMAKE_PREFIX_PATH can also be set as environment variable, not just as cmake variable. So if you can teach the module system to set CMAKE_PREFIX_PATH (or the INCLUDE/LIBRARY v

Re: [CMake] Packaging Best Practices for Linux

2012-05-20 Thread Andreas Mohr
ot) enable wx2.4 build compat config flag (and thus end up with incompatible vtable ABI issues). Andreas Mohr -- 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 a

Re: [CMake] Windows 260 Char Limit Hit with CPack

2012-05-20 Thread Andreas Pakulat
s considerably shorter than what you have there. So it seems that this is customizable to a certain extent (I'm not an expert when it comes to jenkins on windows). I know thats not what you were looking for, but might be an easier to maintain change than patching CMake each time a new relea

Re: [CMake] Why is Ninja generator disabled by default?

2012-05-21 Thread Andreas Mohr
easily re-build a CMake of your own that has it enabled. Simply turn on the > advanced cache option CMAKE_ENABLE_NINJA when configuring CMake. Andreas Mohr -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] Why is Ninja generator disabled by default?

2012-05-23 Thread Andreas Mohr
space issues here. So it's at least *better* than it used to be, but there might be hidden niceties lurking (and this is what the dashboard test result likely hints at). Andreas Mohr -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/o

Re: [CMake] Bug? Broken header files in Visual C++ 2008 project

2008-09-05 Thread Andreas Pakulat
On 05.09.08 21:46:17, Alexander Neundorf wrote: > On Friday 05 September 2008, Andreas Pakulat wrote: > > On 04.09.08 21:50:03, Alexander Neundorf wrote: > ... > > > This pops up a dialog in kdevelop saying "This project doesn't contain > > > any files y

Re: [CMake] Does FIND_PACKAGE ignore REQUIRED and QUIET in Config mode ?

2008-09-05 Thread Andreas Pakulat
nt path. Hardcoding the path is nice though to not having to go through the find-the-library loop all the time and to be on the safe side as long as the library devs play by the rules. Unless of course I'm missing some important piece :) Andreas -- You are a v

Re: [CMake] Clearing all cmake files

2008-09-09 Thread Andreas Pakulat
nd windows :) Although I suspect you didn't mean "CMakeLists.txt" there, as that would mean removing the complete buildsystem you've written. Andreas -- Just because the message may never be received does not mean it is not worth sending. __

Re: [CMake] Clearing all cmake files

2008-09-09 Thread Andreas Pakulat
ut adding files, removing directories and more. Your use-case actually sounds as if what you really want are multiple builddirectories for the different toolchains you want to use. Granted there's not much that can be done when a FindXXX.cmake fil

Re: [CMake] cmake 2.5 with windows mobile

2008-09-17 Thread Andreas Pokorny
too. What happened to the two windows SDK patches, that made the visual studio generator create files with selectable SDKs? Are there in the queue of patches to apply to cmake, or still not ready yet? kind regards Andreas Pokorny 2008/8/5 Alexander Neundorf <[EMAIL PROTECTED]>: > On Frid

Re: [CMake] cmake 2.5 with windows mobile

2008-09-17 Thread Andreas Pokorny
HEADERINFO}) SET(CMAKE_CL_MACHINE_TYPE ${CMAKE_MATCH_1}) MESSAGE(STATUS "${CMAKE_CL_MACHINE_TYPE}") Is there a better way? Andreas 2008/9/17 Andreas Pokorny <[EMAIL PROTECTED]>: > Hi, > I am about to do that right now. I just discovered that there is a > tool called dumpbim

Re: [CMake] Updated WinCE CMakefiles

2008-09-19 Thread Andreas Pokorny
hope that no project decides to conditionally add or remove source files based on the target architecture. kind regards Andreas ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Updated WinCE CMakefiles

2008-09-21 Thread Andreas Pokorny
number of SDKs installed. What was the problem with the cmake user interface? kind regards, Andreas ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

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

2008-09-22 Thread Andreas Schneider
lib / gtk / pango / ...). > It also doesn't make sure that the *config.h matches the library found (if > you ever have two versions installed). > Sounds like you're volunteering to rewrite the module ;) I've written it some time ago for cmake 2.4. I'm not a GTK2 user

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] Updated WinCE CMakefiles

2008-09-30 Thread Andreas Pokorny
Hello Clemens, I still try to get some time slot to try your patches here. Since we do not have that many 2005 licenses, I cannot do that as a kind of submarine project :). 2008/9/30 Clemens Arth <[EMAIL PROTECTED]>: > Andreas, > > I had a look at your modified files and, like the

Re: [CMake] Updated WinCE CMakefiles

2008-09-30 Thread Andreas Pokorny
Hi, Is the code attached to this thread the most recent source code for WinCE and Windows Mobile support? kind regards Andreas ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Updated WinCE CMakefiles

2008-09-30 Thread Andreas Pokorny
://msdn.microsoft.com/en-us/library/aa934487.aspx There seem to be countless variants of WinCE. I recently heard about Windows CE Auto and Windows CE Automotive. CE seems to be constantly moving target. kind regards Andreas ___ CMake mailing list

Re: [CMake] Need help with building with cmake and make

2008-10-05 Thread Andreas Pakulat
include/boost-1_36/boost/thread/mutex.hpp:12:44: error: > boost/thread/detail/platform.hpp: No such file or directory Either you didn't search for boost, it wasn't found or you forgot the include_directories() call for the boost-include directory. Which cmake version are

Re: [CMake] Updated WinCE CMakefiles

2008-10-14 Thread Andreas Pokorny
relies on the existance of dumpbin.exe (which is searched quite extensively) does not break existing setups. regards Andreas Pokorny ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] What to cache and what not

2008-10-18 Thread Andreas Pakulat
che both or not? Andreas -- You don't become a failure until you're satisfied with being one. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] What to cache and what not

2008-10-18 Thread Andreas Pakulat
On 18.10.08 18:01:51, Alexander Neundorf wrote: > On Saturday 18 October 2008, Andreas Pakulat wrote: > > Hi, > > > > I'm a bit confused from readme.txt in the Modules directory, regarding > > which variables in a FindFoo.cmake or in my case FooConfig.cmake should

Re: [CMake] Can't find libstdc++ on RHEL Linux 5...

2008-10-23 Thread Andreas Pakulat
eal with the versioning). Because there's no libstdc++.so, which usually indicates missing -dev packages. But anyway, you don't need to search for libstdc++, the compiler will pick the right one. Andreas -- You'll wish that you had done some of the hard things when they were easie

Re: [CMake] Multiple source directories.

2008-10-23 Thread Andreas Pakulat
piled into app like shown above. Or app has to link against a library that provides the code. If you don't want to compile Config.cpp as often as you have moduleX, then I suggest to create a static library inside common that each app links against. This means no runtime-dependency on that libr

Re: [CMake] Updated WinCE CMakefiles

2008-11-03 Thread Andreas Pokorny
s > > So we can get it in step by step. Thanks for being so patient. kind regards Andreas ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Problem with cmake & qt - out of source build - relative paths

2008-11-06 Thread Andreas Pakulat
e macros for handling moc/ui files simply put the result into the same subdir as the original files are. You might be able to provide the -o option to the calls, but I'd be interested to know why you think having the files in the directory might be a problem. Andreas -- You will be misunder

Re: [CMake] cleaning targets

2008-11-06 Thread Andreas Pakulat
The exact names of the targets are not so important as what they do (or > supposed to do). The way to get rid of any non-source files with CMake is rm -rf . If you're doing in-source builds then you're simply masochistic ;P Andreas -- You may worry about

Re: [CMake] boost component names

2008-11-06 Thread Andreas Pakulat
ncluding) -gcc til the end. Now you have your component name. So for the example the component name is "date_time". Thats how FindBoost.cmake works, it simply puts together the library name from boost_ Andreas -- You will gain money by an immoral action. ___

Re: [CMake] What does `cross-platform' mean?

2008-11-07 Thread Andreas Pakulat
so if you find errors you need to report them and work with the CMake people on fixing them - or fix them locally in your installation. Andreas -- Don't look now, but the man in the moon is laughing at you. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] link_libraries vs target_link_libraries

2008-11-10 Thread Andreas Pakulat
library with a few headers, for which a UseXXX file is provided the requirement really doesn't make much sense (IMHO) - unless you can use some of the headers without linking. Andreas -- Don't read any sky-writing for the next two weeks. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Understanding try_compile

2008-11-10 Thread Andreas Pokorny
for the temporary project? regards Andreas Pokorny ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] link_libraries vs target_link_libraries

2008-11-11 Thread Andreas Pakulat
On 11.11.08 14:12:39, Fernando Cacciola wrote: > Hi Andreas, > >> On 10.11.08 12:01:13, Fernando Cacciola wrote: >>> The CGAL library (www.cgal.org) uses cmake as build system. Thus, our >>> users do: >>> >>> find_pac

Re: [CMake] link_libraries vs target_link_libraries

2008-11-11 Thread Andreas Pakulat
uple of libs as default to link against makes sense. OTOH if you want full control you should simply use just the find_package() and then use the variables that it defines where needed. Andreas -- A visit to a strange place will bring fresh work. ___ CMa

Re: [CMake] CMake -fPIC

2008-11-13 Thread Andreas Pakulat
not supported on all platforms, one which is x86_64 IIRC. So either create a shared library or get a static build of FTGL. Andreas -- You'll never see all the places, or read all the books, but fortunately, they're not all recommended. _

Re: [CMake] Variable naming when writing FindXXX.cmake files

2008-11-13 Thread Andreas Pakulat
nment and cmake variables (given on the commandline) but uses mixed case for all variables it "exports". I recall that there were specific changes to make it this way, so now I'm confused?? Andreas -- You will gain money by an immoral action. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] CMake -fPIC

2008-11-14 Thread Andreas Pokorny
includes the object files inside your static library. You have two options * build libftgl.a yourself with -fPIC. * link libftgl.so to your library - then you have FTGL as a runtime dependency kind regards Andreas ___ CMake mailing list CMake@cmake.

Re: [CMake] CMake -fPIC

2008-11-14 Thread Andreas Pakulat
ain a reference to the libftgl.a that you had before. Andreas -- Your aim is high and to the right. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Create library and executable with libraries but no source files

2008-11-14 Thread Andreas Pakulat
library without sources otoh simply is a non-existing file. If all your code is in the headers, then you don't need a library, just install the headers. Andreas -- Celebrate Hannibal Day this year. Take an elephant to lunch. ___ CMake mailing list

Re: [CMake] Problem on FindBoost.cmake under Windows with Visualstudio 2008

2008-11-14 Thread Andreas Pakulat
grading, the 2.4 Module is rather outdated and pretty old so no wonder that it doesn't work with a recent compiler. Andreas -- Everything that you know is wrong, but you can be straightened out. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] missing OLDNAMES.lib when building for WinCE

2008-11-19 Thread Andreas Pokorny
ly generate this project. Call Stack (most recent call first): CMakeLists.txt:1 (PROJECT) -- Configuring done E:\work\build> == Any ideas what I am missing here? What is OLDNAMES.lib? I used the platform files posted at: http:/

Re: [CMake] Finding Boost 1.37 with Cmake 2.6.2 on windows

2008-11-21 Thread Andreas Pakulat
to include the version number into the library names. The variable allows to support later versions. Andreas -- You are fighting for survival in your own sweet and gentle way. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Convenience lib vs static library

2008-11-23 Thread Andreas Pakulat
ld cover > a vast number of cases where an autotools developer would use a > convenience lib. > > Am I missing something? This is Ok for building an executable, but linking a static lib into a shared lib is completely unportable and not supported on all operating systems that cmake sup

Re: [CMake] Convenience lib vs static library

2008-11-23 Thread Andreas Pakulat
g a static lib into a shared lib is not solveable by libtool. Its only solveable by changing how the library format of the problematic platforms work. Andreas -- Courage is your greatest present need. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Convenience lib vs static library

2008-11-23 Thread Andreas Pakulat
convenience libs is added into cmake. PS: What has been discussed (and afaik even requested via cmake's bugtracker) is to allow access to the actual created object files. That way you could have the same files included in >1 shared library and would still save the compilation time.

Re: [CMake] FindBoost (once again...)

2008-11-23 Thread Andreas Pakulat
t IIRC it wasn't me, so don't really know. > Also the latest cvs binary for win32 still does not have support for > boost 1.37. Thats not a problem, see the top of FindBoost.cmake, you can set Boost_ADDITIONAL_VERSIONS prior to find_package to use newer boost packages. Andreas --

Re: [CMake] FindBoost (once again...)

2008-11-23 Thread Andreas Pakulat
On 23.11.08 18:58:57, Christian Ehrlicher wrote: > Andreas Pakulat schrieb: >> On 23.11.08 14:43:19, Christian Ehrlicher wrote: >>> Hi, >>> >>> FindBoost does not work for me on windows because of a wrong pathname: >>> >>> if (WIN32 AND

Re: [CMake] Convenience lib vs static library

2008-11-23 Thread Andreas Pakulat
On 23.11.08 20:56:24, James Mansion wrote: > Andreas Pakulat wrote: >> This is Ok for building an executable, but linking a static lib into a >> shared lib is completely unportable and not supported on all operating >> systems that cmake supports. Thats why its not done.

Re: [CMake] missing OLDNAMES.lib when building for WinCE

2008-11-24 Thread Andreas Pokorny
nd regards Andreas Pokorny ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Complaint about if..endif

2008-11-24 Thread Andreas Schneider
ing the manpage. All you need is in there. Well there are some people who are not used to read manpages. I think that is the problem. However there is #cmake @ freenode for those who need help. Cheers, -- andreas -- http://www.cynapses.org/ - cybernetic synapses signature.asc Descr

Re: [CMake] How to properly write a Module/Config.cmake file

2008-11-24 Thread Andreas Pakulat
find the kdevplatform module is here: http://websvn.kde.org/trunk/KDE/kdevelop/CMakeLists.txt?view=markup Andreas -- Keep it short for pithy sake. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

<    1   2   3   4   5   6   7   8   9   10   >