Re: [CMake] findBoost says it finds static unit testing libraries, but does not set them

2009-04-18 Thread Andreas Pakulat
g on win32 is because boost libs only have that flag on win32 for their static libraries. The reason is that on linux the static boost libs still link against the shared c runtime, while on windows they link against the static c runtime. So the variable controls wether to link against a shared or a stati

Re: [CMake] WinCE Support

2009-04-17 Thread Andreas Pokorny
Hi there, 2009/4/16 Andreas Pokorny : > [...] > Ok the patch was now modified that only a single platform > configuration is generated, and the Platform is selected through the > generator. But you still have to manually select the compiler, either > through a toolchain file or th

Re: [CMake] WinCE Support

2009-04-16 Thread Andreas Pokorny
s been uploaded to: http://cmake.org/Bug/view.php?id=7919 kind regards Andreas Pokorny ___ 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

Re: [CMake] WinCE Support

2009-04-16 Thread Andreas Pokorny
pts? kind regards Andreas Pokorny ___ 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

Re: [CMake] WinCE Support

2009-04-16 Thread Andreas Pokorny
found in the WCE.VCPlatform.config.xml, or do you generate a project file that works for all? kind regards Andreas Pokorny ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messa

Re: [CMake] QtCreator Comments - was [CMake generators (Xcode and Unix Makefile)]

2009-04-16 Thread Andreas Pakulat
ll things that the CMake api offers). Andreas -- After your lover has gone you will still have PEANUT BUTTER! ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep mes

Re: [CMake] CMake generators (Xcode and Unix Makefile)

2009-04-16 Thread Andreas Pakulat
to >>> keep on eye on. >> >> QtCreator supports loading CodeBlocks project files, which cmake can >> generate >> (this was added to QtCreator especially for the purpose of better >> support for >> cmake) > > Q

Re: [CMake] WinCE Support

2009-04-16 Thread Andreas Pokorny
? At first glance they do not seem to be Windows Mobile/CE specific? Is this maybe related to unresolved external symbol: __security_check_cookie error messages, that I just got while writing this email. kind regards Andreas Pokorny ___ Powered by www

Re: [CMake] WinCE Support

2009-04-15 Thread Andreas Pokorny
2009/4/15 Andreas Pokorny : > Hi Clemens, > > Finally.. Here is an updated patch that integrates both WinCE patches: > http://cmake.org/Bug/view.php?id=7919 > > > With a small bug ... $(INSTRUCTIONSET) and $(ARCHFAM) and $(_ARCHFAM_) > is not appended to the C flags,

Re: [CMake] WinCE Support

2009-04-15 Thread Andreas Pokorny
Hi Clemens, Finally.. Here is an updated patch that integrates both WinCE patches: http://cmake.org/Bug/view.php?id=7919 With a small bug ... $(INSTRUCTIONSET) and $(ARCHFAM) and $(_ARCHFAM_) is not appended to the C flags, but only C++ flags. kind regards Andreas Pokorny

Re: [CMake] WinCE Support

2009-04-15 Thread Andreas Pokorny
VS9 SDK Generator factory method with the respective platform string attached. kind regards Andreas Pokorny ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messag

Re: [CMake] Linking to a library with a "-"

2009-04-15 Thread Andreas Pakulat
ns.dir/BoostProgramOpt > ions.cpp.o -o BoostProgramOptions -rdynamic -L/home/doriad/bin/boost/lib > -lboos > t_program_options -Wl,-rpath,/home/doriad/bin/boost/lib > This link.txt is for BoostProgramOptions which you specified shou

Re: [CMake] WinCE Support

2009-04-15 Thread Andreas Pokorny
Ks, i.e. a drop down box in the gui (== a string in the cache). Maybe by dynamically generating the list of visual studio generators - and the user selects the SDK by selecting the generator? kind regards Andreas ___ Powered by www.kitware.com Visit oth

Re: [CMake] WinCE Support

2009-04-15 Thread Andreas Pokorny
not professional, team or > whatever. Thank you for checking that. Ok, so we just have to ensure that cmake prefers devenv.exe ofer VCExpress.exe if both are installed. kind regards Andreas ___ Powered by www.kitware.com Visit other Kitware open-so

[CMake] Convert libtool convenience libraries to cmake

2009-04-15 Thread Andreas Pokorny
library component_2 has undefined symbols defined in component_1, you have to swap these two libaries in the TARGET_LINK_LIBRARIES command. kind regards Andreas Pokorny ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://w

Re: [CMake] Why does cmake adds /STACK:10000000 for msvc linker?

2009-04-15 Thread Andreas Pokorny
CMAKE_{EXE,SHARED}_LINKER_FLAGS. 64kb should be enough for most people :). kind regards Andreas Pokorny ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-t

Re: [CMake] WinCE Support

2009-04-14 Thread Andreas Pokorny
2009/4/14 Andreas Pokorny : > [...] > > Configuring our project fails during the CMakeTestCCompiler.cmake > tests, because it tries to execute the generated project files with > VCExpress wich has no SDK configured - and I doubt that it supports > multiple SDKs at all. I am

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-14 Thread Andreas Pokorny
Hello, 2009/4/13 Andreas Pakulat : >> [...] >> question. Anybody knows how to build >> a shared library of separate cmake targets? > > Then you might be out of luck. Of course you could try creating static > libs and then link those into your shared lib. But t

Re: [CMake] WinCE Support

2009-04-14 Thread Andreas Pokorny
/view.php?id=7919 Configuring our project fails during the CMakeTestCCompiler.cmake tests, because it tries to execute the generated project files with VCExpress wich has no SDK configured - and I doubt that it supports multiple SDKs at all. I am investigating that right now. kind regards Andreas

Re: [CMake] INCLUDE_DIRECTORIES per *file*

2009-04-13 Thread Andreas Pakulat
y > idea on how > to achieve what I want? Add the -I to the compile flags, because thats what they are. However as you found out this doesn't seem to work properly for all generators. Andreas -- Everything will be just tickety-boo today. _

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-13 Thread Andreas Pakulat
On 12.04.09 15:54:43, Yevgen Muntyan wrote: > Andreas Pakulat wrote: >> On 07.04.09 20:29:49, Yevgen Muntyan wrote: >>> I want to convert an autotools project to cmake. But, I don't know >>> how to solve the problem of the >>> convenience libraries.

Re: [CMake] findBoost says it finds static unit testing libraries, but does not set them

2009-04-09 Thread Andreas Pakulat
t -d-s.a. That may be the bug. Also FindBoost.cmake doesn't use -d, its just "d" there (and potentially g too). So it searches for -mt-s followed by either d, gd without a dash in between. At least my cmake 2.6.3 rc7 does that. Andreas -- You learn to write as if to someon

Re: [CMake] Convert libtool convenience libraries to cmake

2009-04-08 Thread Andreas Pakulat
_file_properties. If you have a bunch of files that get the same flags, put them into a variable, iterate over them and set the flags on each that way. Andreas -- All the troubles you have will pass away very quickly. ___ Powered by www.kitware.com Vis

Re: [CMake] Feature Request: Additional directory for customized/private CMake modules

2009-04-03 Thread Andreas Pakulat
tory per > default additionally to CMake's standard module > directory. Thats already supported in CMake 2.6 (IIRC you'd want 2.6.2 to have the important related bugs fixed), see find_package()'s Config mode in the cmake manpage. The packages

Re: [CMake] Output directory for genereated ui_Header.h files

2009-04-02 Thread Andreas Pakulat
hould be in the build directory and not the source directory. To be able to use #include "ui_foo.h" You should add CMAKE_CURRENT_BINARY_DIR and/or CMAKE_BINARY_DIR to your include directories. Andreas -- Your lucky number has been disconnected. _

Re: [CMake] Question about overriding Find modules in cmake

2009-03-30 Thread Andreas Pakulat
, C:\Program Files etc) 3. dirs listed via the PATHS option (I think there's a 4. but can't recall it right now). So change PATHS to HINTS and then your local version should be preferred. Andreas -- You will be the last person to buy a Chrysler. __

Re: [CMake] Forcing location of binary directory in CMake

2009-03-26 Thread Andreas Pakulat
> C:\foo\bar\build > > The user should not have a choice in the matter. This is a requirement. Is > there a way to enforce this? No. Andreas -- Your depth of comprehension may tend to make you lax in worldly ways. ___ Powered by www.kitwa

Re: [CMake] Exporting imported target

2009-03-24 Thread Andreas Pakulat
ort-information from ProjectC. So instead of exporting imported target let the original exporting from ProjectC run automatically when finding ProjectB. Andreas -- Good night to spend with family, but avoid arguments with your mate's new lover. ___

Re: [CMake] Patches with "your name" all over them?

2009-03-23 Thread Andreas Pakulat
On 23.03.09 16:29:24, Bob Tanner wrote: > On 2009-03-23 02:36:37 -0500, Andreas Pakulat said: > >>> Looking into cmake files, I do see my name all over :-) >> >> Seems like you did an in-source build. CMake suggests to use out-of-source >> builds at all times so

Re: [CMake] Link error when building static exe against static Qt 4.5 plugin

2009-03-23 Thread Andreas Pakulat
tory under which they symlink a proper directory hierarchy (and if the distro doesn't it simply broken). You could of course also use the (not properly documented) QT_PLUGINS_DIR variable. > b) I've got an explicity reference to /usr/lib as well > > Can anyone suggest how I can make

Re: [CMake] WinCE Support

2009-03-23 Thread Andreas Pokorny
igger the build? ( To execute the test you would need the non-free version of vs2005 or newer and at least one CE SDK installed - and maybe have some env vars set) kind regards Andreas Pokorny ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Link error when building static exe against static Qt 4.5 plugin

2009-03-23 Thread Andreas Pakulat
plugins dir b) built directly into the static Qt libs So obviously in case a) you don't need to link against the mysql-plugin, because Qt will load it itself during runtime and in the second case it should be part of the QtSql library. Can you show the relevant cpp file and cmake code? Andreas

[CMake] WinCE Support

2009-03-23 Thread Andreas Pokorny
Hi, Any news from the WinCE Support front? There are four patch tickets in mantis: http://cmake.org/Bug/view.php?id=7919 http://cmake.org/Bug/view.php?id=8486 http://cmake.org/Bug/view.php?id=8102 http://cmake.org/Bug/view.php?id=7434 kind regards Andreas Pokorny

Re: [CMake] Patches with "your name" all over them?

2009-03-23 Thread Andreas Pakulat
eeds the CMakeLists.txt files and any other files you've written specifically for building the project (like .cmake find-modules or .cmake template files used with configure_file). Anything else is generated by cmake when you ran it in the source tree. Andreas -- Domestic happiness and faithf

Re: [CMake] How to link jar files to a library through cmake

2009-03-20 Thread Andreas Pokorny
se. What do you mean by link? For java it should be sufficient to add the jar files to the class path. You can do that with the INCLUDE_DIRECTORIES command. kind regards Andreas ___ Powered by www.kitware.com Visit other Kitware open-source projects at h

Re: [CMake] Problem linking static lib into shared lib on Linux

2009-03-18 Thread Andreas Pakulat
libs is not supported on all platforms. You can make it work in on linux/x86-64 by passing -fPIC when compiling the static lib (or was it the shared lib), however this might not work on other platforms. Andreas -- You're being followed. Cut out the hanky-panky for a few days. ___

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

2009-03-13 Thread Andreas Schneider
ay be used to specify a setting that takes priority over the project's default value. Cheers, -- andreas -- cybernetic synapses - http://www.cynapses.org/ signature.asc Description: This is a digitally signed message part. ___

Re: [CMake] running CMake from different parts of the tree

2009-03-12 Thread Andreas Pakulat
uild+install your baselib as shared or static library and let productcli find and link against that installed version of the library. Andreas -- "Life, loathe it or ignore it, you can't like it." -- Marvin, "Hitchhiker's Guide to the Galaxy" __

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
lar package available. My problem is that cmake thinks that it is a windows version... So you successfully *cross compile* with mingw for windows under linux and successfully create NSIS installers with cpack? -- andreas -- cybernetic synapses - http://www.cynapses.org/ signature.a

[CMake] Cross Compilang and NSIS

2009-03-08 Thread Andreas Schneider
0- win32\*.*" -> no files found. Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | /oname=outfile one_file_only) Any idea for a workaround? Has someone already managed to create a NSIS installer on Linux? -- andreas -- cybernetic synapses - http://www.c

Re: [CMake] Call a macro through a variable. Possible or not?

2009-03-06 Thread Andreas Pakulat
dural language. Andreas -- Don't worry so loud, your roommate can't think. ___ 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

[CMake] Creating JAR files with cmake

2009-03-05 Thread Andreas Pokorny
+--- progress.make Is there a way to get rid of the path element src/ and the duplicate path elements com/foo/bar? If not .. could you give me a starting point in the cmake source where the Java stuff is handled? regards Andreas Pokorny ___ Powered by

Re: [CMake] Cmake replacement for AC_SEARCH_LIBS?

2009-02-26 Thread Andreas Pakulat
TION_FUND} ) set(${TARGET_VAR} ${_LIB_PATH}) break() endif endforeach( LIB ) endif(${LIB_REQUIRED}) Probably needs some finetuning, but I think you get the idea. Not sure I got the logic of "not required" right though. Andreas -- A day for firm decisions! Or is it? __

Re: [CMake] Toggling a Preprocessor macro for targets within a single project

2009-02-20 Thread Andreas Pokorny
ot understand why.. but DEFINE_SYMBOL did not work, but COMPILE_FLAGS -DUSE_TRACER did. So SET_TARGET_PROPERTIES is the sledgehammer for getting it done :) kind regards Andreas Pokorny ___ Powered by www.kitware.com Visit other Kitware open-s

[CMake] Toggling a Preprocessor macro for targets within a single project

2009-02-20 Thread Andreas Pokorny
both tragets. kind regards 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

Re: [CMake] How to find versioned Boost libraries?

2009-02-19 Thread Andreas Pakulat
gest to put some debug-messages into FindBoost.cmake to find out where it really fails. Andreas -- Beware the one behind you. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] How can I install something into an absolute directory?

2009-02-16 Thread Andreas Pakulat
ot need that, in particular nothing that builds from source should install into a directory thats controlled by a distributions packaging system. Apart from that, something like this would probably break how distributions build a package from such sources. Can you explain why you think you need this

Re: [CMake] Efficient linking to libraries(static and dynamic)

2009-02-10 Thread Andreas Pakulat
ind_library command to avoid hardcoding the path of the libraries in your CMakeLists.txt. Andreas -- You will remember something that you should not have forgotten. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http:/

Re: [CMake] find_package on windows also considering unix paths?

2009-02-09 Thread Andreas Pakulat
On 09.02.09 22:03:18, Alexander Neundorf wrote: > On Saturday 07 February 2009, Andreas Pakulat wrote: > > Hi, > > > > it seems that find_package in config-mode also searches unix-like paths in > > CMAKE_PREFIX_PATH. So if I put myprojectConfig.cmake into > > /li

[CMake] find_package on windows also considering unix paths?

2009-02-06 Thread Andreas Pakulat
indicating that only /[Cc]make is searched on win32 and lib+share are only searched on *nix. Andreas -- Today is the last day of your life so far. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] find_package(Qt4): EXACT doesn't work

2009-01-30 Thread Andreas Pakulat
quot;QT_MIN_VERISON" before running find_package. This also doesn't support an exact match, its just a minimum required. Of course you may file an enhancement report to make FindQt4.cmake care for the cmake-variables set when using the version argume

Re: [CMake] INSTALL dependencies

2009-01-28 Thread Andreas Pakulat
On 28.01.09 23:58:26, Pau Garcia i Quiles wrote: > On Wed, Jan 28, 2009 at 11:41 PM, Andreas Pakulat wrote: > > On 28.01.09 22:58:04, Pau Garcia i Quiles wrote: > >> On Wed, Jan 28, 2009 at 10:39 PM, Alexander Neundorf > >> wrote: > >> > On Wednesday 28

Re: [CMake] INSTALL dependencies

2009-01-28 Thread Andreas Pakulat
int in installing them again. I guess you actually want to create a distributable package of your app containing all dependencies? For that install is IMHO simply the wrong tool. Andreas -- You will feel hungry again in another hour. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Creating projects with no source files?

2009-01-18 Thread Andreas Pakulat
o have CPP files. I notice in CMake > that you cannot call add_library() if no CPP files have been added. This has been dicussed some time ago on the list, I can't recall what the position of CMake devs was about adding a "add_headers" or similar function, but AF

Re: [CMake] Makefile regeneration on added/removed files

2009-01-16 Thread Andreas Pakulat
you add a file, if you use GLOB-stuff to create the list of source files. Andreas -- Artistic ventures highlighted. Rob a museum. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Andreas Pakulat
On 14.01.09 15:45:53, Robert Dailey wrote: > On Wed, Jan 14, 2009 at 1:20 PM, Andreas Pakulat wrote: > > > If you look at the cmake docs, then you'll find out that nothing in there > > states that wildcards are allowed. Hence I'd assume that wildcards are not > >

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Andreas Pakulat
On 14.01.09 12:33:35, Robert Dailey wrote: > On Wed, Jan 14, 2009 at 6:22 AM, Andreas Pakulat wrote: > > > On 13.01.09 19:06:13, Robert Dailey wrote: > > > Trust me, I've read this already. It makes no sense to me. How am I > > supposed > > > to know that

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Andreas Pakulat
nd in /share/cmake-2.6/Modules/Platform/.cmake, in the case of the CMAKE_SYSTEM_PREFIX_PATH variable you'll find the settings in the *Paths.cmake files. Andreas -- Today's weirdness is tomorrow's reason why. -- Hunter S. Thompson __

Re: [CMake] Define a library target without using the add_library command ? <==> Working with repositories

2009-01-12 Thread Andreas Pakulat
u can export and import targets, which might be an option. The CMake manual tells you more about this, just look for install and EXPORT. Andreas -- You will be advanced socially, without any special effort on your part. ___ CMake mailing list CMake@cm

Re: [CMake] add_library and target_link_libraries in different directories?

2009-01-12 Thread Andreas Pakulat
bdirs before linking the libs. You can't link a target that you havent' defined yet. Andreas -- Chicken Little was right. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Problem with FindBoost

2009-01-11 Thread Andreas Pakulat
to 1.44 boost is found anyway. Setting "COMPONENTS > multi_array" results in an error, but "multi_array" is installed. > > > Is there something wrong how I use FIND_PACKAGE(Boost ...)? In general: no, you might want to add some debug output to Find

Re: [CMake] CMake, Visual studio 2005 and long relative path

2009-01-11 Thread Andreas Pakulat
7.aspx>. The max > length of a path in windows is 260 characters. Thats wrong, the maximum length of a pathname component is 255 characters (that is the part between two \). The maximum length for a path is much more (yet still less than on unix, IIRC). Andreas -- Write yourself a threatening letter and pen a defiant reply. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] How to install an imported library?

2009-01-06 Thread Andreas Pakulat
lling it again is useless and just wastes diskspace. So this would only be useful when using cpack to generate an installer for your project (or zip package) and as such it should IMHO be handled somehow by cpack. Maybe kitware didn't think of that yet, so you might want to file a wishlist

Re: [CMake] increase output threshhold

2008-12-22 Thread Andreas Pakulat
On 22.12.08 17:22:56, Andreas Pakulat wrote: > Hi, > > I'm looking for a way to increase (or even unlimit) the output threshold > that cmake uses for the stdout/stderr output of a unit-test. I'm having a > problem with one of my tests which hangs, only when runn

[CMake] increase output threshhold

2008-12-22 Thread Andreas Pakulat
ch I can't disable). Andreas -- There will be big changes for you but you will be happy. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FindBoost.cmake

2008-12-13 Thread Andreas Pakulat
e. > > Obviously Boost issues are falling through the cracks along with many > > other bugs. :( > > I'm no Kitware employee but so far I think that at least > for FindBoost.cmake (or other maintained Find modules) > the bugs should be handled directly by its maintainer: >

Re: [CMake] Shared Libraries & dependencies

2008-12-11 Thread Andreas Pakulat
On 11.12.08 15:13:11, Robert Dailey wrote: > On Thu, Dec 11, 2008 at 3:05 PM, Andreas Pakulat wrote: > > > On 11.12.08 14:50:45, Robert Dailey wrote: > > > To elaborate, I'm specifically getting this error message: > > > > > > CMake Error at vfx/

Re: [CMake] Shared Libraries & dependencies

2008-12-11 Thread Andreas Pakulat
On 11.12.08 14:50:45, Robert Dailey wrote: > On Thu, Dec 11, 2008 at 2:44 PM, Robert Dailey wrote: > > > On Thu, Dec 11, 2008 at 12:19 PM, Andreas Pakulat wrote: > > > >> On 11.12.08 10:55:42, Robert Dailey wrote: > >> > If I have a project in CMake

Re: [CMake] FindBoost.cmake oddities

2008-12-11 Thread Andreas Pakulat
On 11.12.08 13:42:38, Mike Jackson wrote: > > > Andreas Pakulat wrote: >> On 11.12.08 11:38:38, Mike Jackson wrote: >>> Up a bit further I see the culprit: >>> >>> IF ( WIN32 AND Boost_USE_STATIC_LIBS ) >>> SET (Boost_LIB_PREFIX &

Re: [CMake] Shared Libraries & dependencies

2008-12-11 Thread Andreas Pakulat
ort library into the ARCHIVE directory. So just make sure to provide all three for any install() call and .exe and .dll will end up in the same directory. Andreas -- Life is to you a dashing and bold adventure. ___ CMake mailing list CMake@cmake.org

Re: [CMake] FindBoost.cmake oddities

2008-12-11 Thread Andreas Pakulat
into finding the static version other than changing the suffix variable as cmake will always prefer shared over static libraries. I'm not sure about the lib prefix above, it might be that this is only really needed for mingw and not for VS. Andre

Re: [CMake] cmake and kdevelop4

2008-12-11 Thread Andreas Pakulat
nge before the release. Andreas -- You have been selected for a secret mission. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

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

2008-11-24 Thread Andreas Pakulat
e skipped with a proper FooConfig.cmake. Andreas -- Your true value depends entirely on what you are compared with. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

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

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

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

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

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

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

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

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

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