Re: [CMake] linking static vs dynamic

2011-02-12 Thread Andreas Pakulat
do is force cmake to search only for .a files by setting a cmake variable, unfortunately I don't remember which one and can't easily find it right now. The archive of this list has more info as well as the cmake manual or the FAQ on the cmake website. Andreas -- You will gain money by an illegal

[CMake] Include-Dir order problem

2011-02-12 Thread Andreas Pakulat
? If not I guess I'll have to find that bugreport about making include-dirs a source-file property and vote for it so it gets included into 2.8.5... Andreas -- Be careful! Is it classified? ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] CMake Java Support

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

Re: [CMake] CMAKE_INSTALL_PREFIX on Windows Machine

2011-02-07 Thread Andreas Pakulat
as the CPACK_PACKAGE_INSTALL_DIRECTORY its reset to be the same using FORCE which means whatever was there in the case is overwritten. Looks like the author does not want anybody to change the install prefix once its been set. Andreas -- Be careful! Is it classified

Re: [CMake] CMake Java Support

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

Re: [CMake] How to link a library?

2011-02-02 Thread Andreas Pakulat
have not been able to link it. If you know the full path already, simply pass that to target_link_libraries, there's no need for the find_library call. Andreas -- You are number 6! Who is number one? ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] Compiler definitions for shared and static builds

2011-01-31 Thread Andreas Pakulat
within the same CMakeLists.txt at least (not sure if they need to be unique globally) and hence using 2 different names for the shared and static lib are necessary. Once you have that you can use set_target_properties with COMPILE_DEFINITIONS without any problem. Andreas -- Future looks spotty

Re: [CMake] CMake performs search for includes/libs in non-default compiler search paths.

2011-01-27 Thread Andreas Pakulat
. The reason cmake searches in /usr/local in addition to /usr is simply a convenience matter. Its a common prefix to have non-distribution software installed in and for the same reason things like /opt/local, /opt/csw and /usr/openwin are being searched for by default. Andreas -- Beware of a dark

Re: [CMake] CMake performs search for includes/libs in non-default compiler search paths.

2011-01-27 Thread Andreas Pakulat
then use include_directories with its BEFORE parameter so it ends up at the front of the list. This is the same thing if you'd create the compiler command yourself in a shell. Andreas -- You will be called upon to help a friend in trouble. ___ Powered

Re: [CMake] directory traverse guidance

2011-01-25 Thread Andreas Pakulat
On 25.01.11 19:09:23, luxInteg wrote: On Tuesday 25 January 2011 07:53:24 Andreas Pakulat wrote: On 25.01.11 02:57:27, luxInteg wrote: Greetings I am learning cmake consider my project with two directories dir1 and dir2 if I want to:- move to dir1 and add

Re: [CMake] Produce only an object file (*.o) from a CMake build target

2011-01-24 Thread Andreas Pakulat
and linked then-it needs to be a *.o because of the way our build system works): You can't do this with cmake. Andreas -- You will be run over by a beer truck. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] directory traverse guidance

2011-01-24 Thread Andreas Pakulat
and the other in dir2 with libB and testB targets. CMake as a declarative language (to a certain extent) does not depend on the order in which you declare targets and use them. Andreas -- Just to have it is enough. ___ Powered by www.kitware.com Visit other

Re: [CMake] Restrictions on where a binary can be put?

2011-01-20 Thread Andreas Pakulat
on disk (and how). And indeed (as he said also) changing the output directory _after_ querying it (via LOCATION) hints towards a bug in your cmake code, after all whatever you did with LOCATION is void if you change the output directory again and you'd have to re-run that code. Andreas -- Don't

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Andreas Pakulat
. Andreas -- Never look up when dragons fly overhead. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http

Re: [CMake] VS resource compiler preprocessor defines

2011-01-18 Thread Andreas Pakulat
there. Andreas -- Advancement in position. ___ 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

Re: [CMake] problem getting defines quoted properly

2011-01-17 Thread Andreas Pakulat
On 14.01.11 20:25:25, Andreas Pakulat wrote: Hi, I'm trying to set a define so that it can be used as string-literal in C++ code using add_definitions. This: add_definition( -DMYFOO=\BAR BAZ\ ) works fine on linux, but breaks with MSVC6 on windows. I always thought I understood cmake's

Re: [CMake] libtool to cmake static-libs combine howto

2011-01-16 Thread Andreas Pakulat
to the shared library target and link it against all dependencies. Andreas -- You are magnetic in your bearing. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] CMake Java Support

2011-01-14 Thread Andreas Schneider
On Wednesday 12 January 2011 15:32:08 Allen D Byrne 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

Re: [CMake] CMake Java Support

2011-01-14 Thread Andreas Schneider
On Wednesday 12 January 2011 15:32:08 Allen D Byrne wrote: Andreas, Hi Allen, 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

Re: [CMake] CMake Java Support

2011-01-14 Thread Andreas Schneider
On Friday 14 January 2011 16:32:16 you wrote: Andreas, Hi Allen, Thanks, I do have most everything working, setting the version was the key! Concerning the '.' at the beginning of my proposed patch, I added that because the CMAKE_JAVA_INCLUDE_PATH_FINAL started with a seperator and I

[CMake] problem getting defines quoted properly

2011-01-14 Thread Andreas Pakulat
already tried: add_definition( -DMYFOO=\\\BAR BAZ\\\ ) What I didn't think of trying when I was at the machine is add_definition( -DMYFOO=\\BAR BAZ\\ ) Would that be the correct one? Or do I need even more \? Andreas -- You had some happiness once, but your parents moved away, and you had to leave

Re: [CMake] problem getting defines quoted properly

2011-01-14 Thread Andreas Pakulat
On 14.01.11 21:57:39, Michael Hertling wrote: On 01/14/2011 08:25 PM, Andreas Pakulat wrote: Hi, I'm trying to set a define so that it can be used as string-literal in C++ code using add_definitions. This: add_definition( -DMYFOO=\BAR BAZ\ ) works fine on linux, but breaks

Re: [CMake] Tips on cmake with git submodules?

2011-01-14 Thread Andreas Pakulat
set in the super-project (move the add_subdirectory to the top of the cmakelists.txt). Thats all I can think of right now. Andreas -- Don't tell any big lies today. Small ones can be just as effective. ___ Powered by www.kitware.com Visit other

Re: [CMake] List operations

2011-01-12 Thread Andreas Pakulat
) and I don't know what to put in the middle ;-) There's no need for a function, the list() function can already do that: list( REMOVE_ITEM yourlist ${listToRemove} ) Andreas -- Give thought to your reputation. Consider changing name and moving to a new town

Re: [CMake] add_subdirectory and link_directories

2011-01-11 Thread Andreas Pakulat
the pkg-config file. Andreas -- You recoil from the crude; you tend naturally toward the exquisite. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] CMake Java Support

2011-01-11 Thread Andreas Schneider
On Tuesday 11 January 2011 16:01:14 Andrea Galeazzi wrote: Hi Andreas, Hi Andrea, I'm a dyed-in-the-wool Java developer (and also Fedora user) so it makes me very happy to know that someone are working to integrate Java in CMake. My question is: shouldn't Ant be enough? Or better, Could

Re: [CMake] CPack and configure_file

2011-01-10 Thread Andreas Pakulat
built a source-package? I can't reproduce this here using include(CPack) and make package_source. As far as I understood your description for a binary package of your code the files won't be necessary as they're only needed during compilation? Andreas -- Go to a movie tonight. Darkness becomes

[CMake] Restrictions on where a binary can be put?

2011-01-09 Thread Andreas Pakulat
the steps that cmake does during makefile-generation? Andreas -- Avoid reality at all costs. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

Re: [CMake] Restrictions on where a binary can be put?

2011-01-09 Thread Andreas Pakulat
On 09.01.11 14:24:16, Michael Hertling wrote: On 01/09/2011 12:58 PM, Andreas Pakulat wrote: Hi, I'm having a bit of a problem here changing the runtime output directory for a binary. Its an executable target named 'setup' and I'd like to put it into the top-level directory

Re: [CMake] Restrictions on where a binary can be put?

2011-01-09 Thread Andreas Pakulat
On 09.01.11 21:09:37, Andreas Pakulat wrote: On 09.01.11 21:05:21, Andreas Pakulat wrote: On 09.01.11 14:24:16, Michael Hertling wrote: On 01/09/2011 12:58 PM, Andreas Pakulat wrote: Hi, I'm having a bit of a problem here changing the runtime output directory for a binary

Re: [CMake] Restrictions on where a binary can be put?

2011-01-09 Thread Andreas Pakulat
intented behaviour and the error is in not warning that the call has no effect and not documenting this surprising behaviour. Andreas -- You will pioneer the first Martian colony. ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] RUNTIME_OUTPUT_DIRECTORY_CONFIG has no effect

2011-01-07 Thread Andreas Pakulat
(or wrap your target-creation in a macro to set it automatically). Andreas -- You never know how many friends you have until you rent a house on the beach. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

Re: [CMake] RUNTIME_OUTPUT_DIRECTORY_CONFIG has no effect

2011-01-07 Thread Andreas Pakulat
. With that setting, the binary is produced in the source directory, just as if I hadn't specified an output directory at all. PS: To set the global value once, simply prefix it with CMAKE_ as documented in the manual. Andreas -- You are confused; but this is your normal state

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Andreas Pakulat
there to test gui applications in an automated fashion, including support for driving them from cmake. Andreas -- Good day for overcoming obstacles. Try a steeplechase. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

[CMake] system script integration

2010-12-24 Thread Andreas Mohr
On Thu, Dec 23, 2010 at 09:11:53AM +, Mike McQuaid wrote: On 22 December 2010 22:24, Andreas Mohr a...@lisas.de wrote: To put it simply, I was just not happy the entire time while trying to implement this and not finding any satisfying (well-crafted) solution, only ugly, very bad

Re: [CMake] CPack 101

2010-12-23 Thread Andreas Pakulat
On 22.12.10 23:24:35, Andreas Mohr wrote: - there's no cmake -E rename available (perhaps for reasons of build rule atomicity) Hmm my cmake -E help tells me different: ... rename oldname newname- rename a file or directory (on one volume) ... This is cmake version 2.8.2.20100804

[CMake] Wrong escaping of custom-command arguments?

2010-12-23 Thread Andreas Pakulat
arguments being given to the actual command and hence it doesn't behave as it should. So anybody got another idea how to get these arguments through properly? BTW: Using VERBATIM doesn't help either (I didn't expect it anyway, but was worth a try). Andreas -- You will experience a strong urge to do

Re: [CMake] CPack 101

2010-12-22 Thread Andreas Mohr
with the sufficiently large infrastructure that I was able to create, it's just that many areas feel wanting (the entire BundleUtilities / install-time stuff is an example of that, too). Thanks, Andreas Mohr ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] can't build translated makefile on snow leopard 10.6.5 w/ g++ 4.2.1 (complaint: g++: No such file or directory, although g++ is there!!)

2010-12-20 Thread Andreas Pakulat
are symlinked). Andreas -- Tonight's the night: Sleep in a eucalyptus tree. ___ 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] cmake qt4 Lplates

2010-12-10 Thread Andreas Pakulat
-DQT_SHARED -DQT_NO_DEBUG both duplicated) Whats the problem with that? And are you setting the defines yourself to be included (via QT_DEFINITIONS) or is that done by the use-module? Andreas -- Are you sure the back door is locked? ___ Powered

Re: [CMake] Creating CMakeLists files from Solutions, Projects and Makefiles

2010-12-07 Thread Andreas Mohr
working ok so far. 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 at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [CMake] Creating CMakeLists files from Solutions, Projects and Makefiles

2010-12-07 Thread Andreas Pakulat
which I think most larger qmake projects have (like Qt itself). Andreas -- You are as I am with You. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Creating CMakeLists files from Solutions, Projects and Makefiles

2010-12-07 Thread Andreas Pakulat
would've written or to be able to translate any arbitrary text (especially 'slang', scientific texts etc. are causing problems for such tools). Andreas -- You need more time; and you probably always will. ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] Creating CMakeLists files from Solutions, Projects and Makefiles

2010-12-07 Thread Andreas Pakulat
On 07.12.10 23:52:10, Andreas Pakulat wrote: On 07.12.10 13:14:19, Paul Dean wrote: I've been using CMAKE for a few years now and I absolutley LOVE it. It makes my life as a programmer so much easier to be able to generate project files on any platform. What hurts is doing

Re: [CMake] find_package with ###Config.cmake

2010-12-03 Thread Andreas Pakulat
file to see why its not setting the variables correctly. Andreas -- Blow it out your ear. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

Re: [CMake] find_package with ###Config.cmake

2010-12-02 Thread Andreas Pakulat
-matching version vs. no config-file found), hence it produces the same message in both cases. Andreas -- Don't you feel more like you do now than you did when you came in? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] Forcing 'out-of-source' build

2010-11-26 Thread Andreas Mohr
. (not that anyone unclever enough would ever happen to read these files before getting rid of them in sub-seconds, but...) The fact that it can't create a directory alone makes cmake freak out almost immediately. Interesting variant - seems like there are a hundred ways to Rome ;) Andreas Mohr

Re: [CMake] CPack general question and example

2010-11-15 Thread Andreas Mohr
working) CPack RPM setup off-list if wanted. 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 at: http

Re: [CMake] Solution folder property does not work for external projects in cmake 2.8.3

2010-11-14 Thread Andreas Mohr
, then it's probably possible to use --dtdvalid on a DTD (as hopefully published for VS2005/08/10 etc.). Unless that's still not precise enough for full validation of all content. Obviously this should best be made a mandatory post-build step prior to release. HTH, Andreas Mohr

Re: [CMake] How to force the configure step to start over

2010-11-13 Thread Andreas Mohr
cmake -E touch the CMAKE_CURRENT_LIST_FILE, somehow during target building or some such. This is quite certainly not the most direct (nor elegant!) way to force a reconfiguration (any ideas how to force it directly?), but in some situations such a reconfiguration might help. Andreas Mohr

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

2010-11-07 Thread Andreas Schneider
. -- 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

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

2010-11-06 Thread Andreas Schneider
. -- 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

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-11-05 Thread Andreas Pakulat
. On Linux the average user won't have write access to the location of the modules. So in addition cmake will have to implement a way to also look into the users home-folder or something like that. Andreas -- People are beginning to notice you. Try dressing before you leave the house

Re: [CMake] CMake 2.8.3 available for download

2010-11-04 Thread Andreas Pakulat
is: 1b1459fe8f6b6d250c7c56bec1b45c89 Andreas -- A visit to a strange place will bring fresh work. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-11-03 Thread Andreas Pakulat
which shouldn't happen as its set using find_library or you're not using the variable but instead simply pass program_options to the target_link_libraries call. Oh and whats the value of Boost_program_options_LIBRARY? Andreas -- You never know how many friends you have until you rent a house

Re: [CMake] Converting a large C++-Project to CMake

2010-10-30 Thread Andreas Mohr
project space (and as said above this is working sufficiently well), however I might eventually change this to split off some suitable parts. HTH, coming from someone with possibly rather similar conditions. Andreas Mohr ___ Powered by www.kitware.com Visit

Re: [CMake] Inconsistent lib dependancie/name for libnames with dots

2010-10-23 Thread Andreas Pakulat
will never be created because project b.b will create a lib which is named b.lib. If you want to create a library called 'b.b' you should pass that as target name to add_library. At least on unix this creates a correct dependency. Andreas -- You will be audited by the Internal Revenue Service

Re: [CMake] Inconsistent lib dependancie/name for libnames with dots

2010-10-23 Thread Andreas Pakulat
actually did already do that and as I said it works with Unix makefiles here. I don't have a way to verify with a VS generator currently, but if the deps are not setup properly there that does sound like something you should file in cmake's bugtracker. Andreas -- Your own qualities will help

Re: [CMake] FIND_PATH+FIND_LIBRARY+CMAKE_INCLUDE_PATH usage...

2010-10-18 Thread Andreas Pakulat
? What exactly are you trying to do? Andreas -- Are you sure the back door is locked? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

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

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

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

2010-10-15 Thread Andreas Schneider
(java_SRCS wurst.java brot.java wurstbrot.properties ) set(CMAKE_JAVA_INCLUDE_PATH gurke.jar) add_jar(wurstbrot ${java_SRCS}) Cheers, -- andreas ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] how to define current working directory of command line tool

2010-10-11 Thread Andreas Pakulat
. CMake is not concerned with running your apps, its only concerned with building the code (or rather generating something which can build the code). So no, there's no way of setting a working-dir for the targets you build. Andreas -- Day of inquiry. You will be subpoenaed

Re: [CMake] how to define current working directory of command line tool

2010-10-10 Thread Andreas Pakulat
doesn't run any executable, hence setting a working-dir doesn't make any sense. What exactly are you trying to achieve? Andreas -- Be careful! Is it classified? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

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

2010-10-08 Thread Andreas Schneider
. get_target_property(FOO osutil_java OUTPUT_NAME) is empty. b) I can't use osutil_java in another CMakeLists.txt as a dependency. Here is my function add_jar() http://git.cynapses.org/users/asn/pki.git/tree/cmake/Modules/UseJava.cmake?h=cmake -- andreas

Re: [CMake] What does find_package(COMPONENTS) do? and

2010-10-07 Thread Andreas Pakulat
for the case of core-libs+core-tests and the other has gui-libs+gui-tests. Unless I misunderstood something... Andreas -- Excellent day for putting Slinkies on an escalator. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

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

2010-10-07 Thread Andreas Schneider
there ... Alex Cheers, -- 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

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

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

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

2010-10-07 Thread Andreas Schneider
to the Java files: http://git.cynapses.org/users/asn/pki.git/tree/cmake/Modules?h=cmake This is still work in progress but it works just fine atm. The only thing is that is is ugly to get the OBJECT_DIR :) -Bill -- andreas ___ Powered

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

2010-10-07 Thread Andreas Schneider
include_directories Or is it possible to use them? If you can guide me a bit I would implement it. At the moment it looks much harder to use functions with custom commands to me. -- andreas ___ Powered by www.kitware.com Visit other Kitware open

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-05 Thread Andreas Pakulat
will have details on how to set the proper header filename. Also make sure that the directory containing the header is in the list of include-dirs by using include_directories() in cmake. Andreas -- Cheer Up! Things are getting worse at a slower rate

Re: [CMake] Fwd: Removing overkill linking

2010-10-02 Thread Andreas Pakulat
line (or whatever the find-module uses, like pkg-config files). Andreas -- You will live to see your grandchildren. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [CMake] add_custom_target dependency list issue

2010-09-26 Thread Andreas Pakulat
) as that should create a list in the variable DEPS. The CMake Manual under the set() command also explains this. Andreas -- Your motives for doing whatever good deed you may have in mind will be misinterpreted by somebody. ___ Powered by www.kitware.com Visit

Re: [CMake] add_dependency on a custom target

2010-09-15 Thread Andreas Pakulat
the cmakelists.txt file after adding new files. I don't think there's a way to have cmake re-run when calling just make within cmakelists.txt. Andreas -- You will be imprisoned for contributing your time and skill to a bank robbery. ___ Powered by www.kitware.com

Re: [CMake] creation of cxx in QT4 gui

2010-09-14 Thread Andreas Pakulat
, its for generating moc code which is necessary for any file having a QObject derived class. Generating the code from .ui files is done with QT4_WRAP_UI and generates only a .h file. Also that generated header doesn't need to be moc'ed as it has no QObject class in it. Andreas -- You will give

[CMake] User-accessible hook on internal cmake_check_build_system target?

2010-09-07 Thread Andreas Mohr
the cmake_check_build_system step. Any clever ideas? Currently using 2.6.4 mostly, but that's certainly not a limiting issue. Thanks, Andreas Mohr ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] makefile to CMakeLists.txt, possible?

2010-09-02 Thread Andreas Pakulat
On 02.09.10 17:02:02, Diablo 666 wrote: I think what Andreas meant is that he expects IDE's to use CMake as their native build system and auto-generate the CMake code. Exactly. AFAIK KDevelop 4 is actually building cmake files. It doesn't, it tries to help you write them and even

[CMake] link-interface-libs not empty (or auto-filled)

2010-09-01 Thread Andreas Pakulat
added automatically by cmake. Anybody knows of something in cmake that would explain this? Andreas -- You should emulate your heros, but don't carry it too far. Especially if they are dead. ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Dependency bug in cmake with a custom-command

2010-08-19 Thread Andreas Pakulat
On 19.08.10 09:26:26, Brad King wrote: On 08/18/2010 01:01 AM, Andreas Pakulat wrote: On 17.08.10 14:53:02, Brad King wrote: The source file is being compiled in a target that does not wait for the header to be generated before compiling. We can add a dependency on the target the does

Re: [CMake] Dependency bug in cmake with a custom-command

2010-08-17 Thread Andreas Pakulat
On 17.08.10 14:53:02, Brad King wrote: On 08/11/2010 07:04 PM, Andreas Pakulat wrote: On 11.08.10 16:07:21, Brad King wrote: What source file is it compiling when it fails to find the header? reviewpatchdialog.cpp which has #include ui_reviewpatch.h In what target is its object file

Re: [CMake] Doesn't make -k work with CMake?

2010-08-16 Thread Andreas Pakulat
with that ...). Instead of trying to workaround you should be fixing the reasons for the initial compile errors. Then there's no reason to worry about wether -i works by accident or not. Andreas -- Exercise caution in your daily affairs. ___ Powered

Re: [CMake] Dependency bug in cmake with a custom-command

2010-08-13 Thread Andreas Pakulat
On 13.08.10 14:09:21, Brad King wrote: On 08/11/2010 07:04 PM, Andreas Pakulat wrote: On 11.08.10 16:07:21, Brad King wrote: This is what causes the header to be generated before dependencies are scanned (as you observed in the quote above). I do not think anything in the kdereviewboard

Re: [CMake] Dependency bug in cmake with a custom-command

2010-08-11 Thread Andreas Pakulat
On 11.08.10 16:07:21, Brad King wrote: On 08/05/2010 02:29 PM, Andreas Pakulat wrote: One more info: I'm seeing the 'Scanning dependencies of target kdevpatchreview' message a lot later than the error when using -k with make. And at that point I also see the 'Generating ui_xxx.h' message

Re: [CMake] Dependency bug in cmake with a custom-command

2010-08-10 Thread Andreas Pakulat
On 10.08.10 09:04:34, Brad King wrote: On 08/05/2010 05:33 PM, Andreas Pakulat wrote: Sure, this is the plugin that breaks: http://gitorious.org/kdevelop/kdevplatform/blobs/master/plugins/reviewboard/CMakeLists.txt Do you have KDE4_ENABLE_FINAL enabled? No. Just running cmake ../ without

[CMake] Dependency bug in cmake with a custom-command

2010-08-05 Thread Andreas Pakulat
the 'Generating ui_xxx.h' message. Andreas -- Good news from afar can bring you a welcome visitor. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

Re: [CMake] Dependency bug in cmake with a custom-command

2010-08-05 Thread Andreas Pakulat
On 05.08.10 17:05:46, David Cole wrote: On Thu, Aug 5, 2010 at 2:29 PM, Andreas Pakulat ap...@gmx.de wrote: we're currently hitting what looks like a dependency problem with CMake and a custom-command. Unfortunately I couldn't reproduce this so far with a small example and it also only

Re: [CMake] Does the echo command use the system shell?

2010-07-29 Thread Andreas Pakulat
and others) Andreas -- Good day to deal with people in high places; particularly lonely stewardesses. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Does the echo command use the system shell?

2010-07-29 Thread Andreas Pakulat
line 1064, it simply prints out the string to stdout. So possibly the error is in add_custom_command, i.e. that one might require the platform-specific quoting. Andreas -- You display the wonderful traits of charm and courtesy. ___ Powered

Re: [CMake] Does the echo command use the system shell?

2010-07-29 Thread Andreas Pakulat
On 29.07.10 09:15:51, Michael Wild wrote: On 29. Jul, 2010, at 8:51 , Andreas Pakulat wrote: On 29.07.10 08:37:36, Michael Wild wrote: On 29. Jul, 2010, at 6:37 , Óscar Fuentes wrote: Michael Wild them...@gmail.com writes: [snip] Perhaps you need to tell us what

Re: [CMake] Does the echo command use the system shell?

2010-07-29 Thread Andreas Pakulat
see your mistake by running (n)make VERBOSE=1 to see the actual cmake -E execution. Andreas -- Your analyst has you mixed up with another patient. Don't believe a thing he tells you. ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] [VS gen] Multiple configurations code

2010-07-26 Thread Andreas Pakulat
x86_debug cmake .. nmake So the various build-tree's for the configurations are separate subdirs inside your source-tree (you can also put them completely outside of your source-tree). So there's only 1 set of source/cmake files, but multiple sets of makefiles/buildfiles. Andreas -- Someone whom

Re: [CMake] How to link against a .dll with cmake?

2010-07-25 Thread Andreas Pakulat
work in that. Same goes for mingw, but it has a way of extracting the import library from a .dll, see http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/existingDLL.html Andreas -- You are fairminded, just and loving. ___ Powered

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
-headers are being generated just fine. Andreas -- Your depth of comprehension may tend to make you lax in worldly ways. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
On 20.07.10 13:30:51, kent williams wrote: Let's try that again http://www.cornwarning.com/xfer/QTCmakeTest.tar.gz Still the same. Andreas -- You will contract a rare disease. ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] CMake + UIC files -- Is this a bug with CMake or with me?

2010-07-20 Thread Andreas Pakulat
.) element of the list you've passed in as next property name instead of value to the first property. Using the quotes you make sure that cmake understands that all individual elements from the list belong to the same value position in the call to the set-function. Andreas -- You are going to have

[CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Andreas Mohr
/nologo ${COMPILE_DEFINITIONS} Invalid escape sequence \V Likely someone forgot to use a VERBATIM somewhere. Andreas Mohr ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] FindFoobar with non-root installation

2010-07-02 Thread Andreas Pakulat
to use the libs can do a find_package(Foobar) and cmake will find those config-files (in worst case the user has to specify the foobar installation prefix in CMAKE_PREFIX_PATH). Andreas -- Your aim is high and to the right. ___ Powered by www.kitware.com

Re: [CMake] rpath problems with kdevplatform

2010-06-30 Thread Andreas Pakulat
On 29.06.10 23:21:10, Alexander Neundorf wrote: On Monday 28 June 2010, Andreas Pakulat wrote: On 28.06.10 08:44:35, Brad King wrote: Andreas Pakulat wrote: On 26.06.10 13:26:29, Andreas Pakulat wrote: Ping? Any further ideas on this? Could someone at least point me to the source

Re: [CMake] rpath problems with kdevplatform

2010-06-30 Thread Andreas Pakulat
On 30.06.10 12:07:11, Modestas Vainius wrote: Hello, On trečiadienis 30 Birželis 2010 11:33:07 Andreas Pakulat wrote: As I said above it won't affect the install tree. See the INSTALL_RPATH target property. That property is not set (and the global variable

Re: [CMake] rpath problems with kdevplatform

2010-06-28 Thread Andreas Pakulat
On 28.06.10 08:44:35, Brad King wrote: Andreas Pakulat wrote: On 26.06.10 13:26:29, Andreas Pakulat wrote: Ping? Any further ideas on this? Could someone at least point me to the source code in cmake that decides wether to add RPATH_REMOVE or RPATH_REPLACE to the cmake_install.cmake file

Re: [CMake] An observation about CTest

2010-06-27 Thread Andreas Mohr
(Google searches in the couple hundreds, vcproj2cmake adaptation of a _large_ project etc.). Suggestion for the sake of world peace: I'll submit a patch for that man page, ok? :) Andreas Mohr ___ Powered by www.kitware.com Visit other Kitware open

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