Re: [CMake] How to build 'install' target or orther custom target in eclipse?

2014-05-25 Thread Alexander Neundorf
On Saturday, May 24, 2014 18:35:06 J Decker wrote: > So I've had to pick up eclipse to try and learn it; figured maybe if I took > my existing code and generated it as eclipse format I might get a better > clue. > > Now I can right click and bulid the project...but I don't see how to build > a spe

Re: [CMake] Resource filters in generated eclipse projects

2014-04-21 Thread Alexander Neundorf
On Friday, April 11, 2014 10:30:18 Josh Bialkowski wrote: > Hello! > > Has anyone figured out a good way to preserve resource filters across a > cmake-rerun when using an eclipse generated project? > > The eclipse "re-indexing" time on one of my projects has gotten a bit out > of hand. By setting

Re: [CMake] 2.8/3.0: CMAKE_FORCE_C_COMPILER semantics

2014-04-13 Thread Alexander Neundorf
On Sunday, April 13, 2014 12:12:10 Rolf Eike Beer wrote: > > include (CMakeForceCompiler) > > CMAKE_FORCE_C_COMPILER (gcc gcc) > > CMAKE_FORCE_CXX_COMPILER (g++ g++) > > A more general question: is there any reason one would have to force a > compiler in a toolchain file? Just set CMAKE_*_COMPILER

Re: [CMake] Another attempt: CMake error reporting with absolute path?

2014-03-09 Thread Alexander Neundorf
On Saturday, March 08, 2014 15:28:48 J Decker wrote: > Didn't see anyone respond to this... While building today I get this > error... > > Snip > Platform/Android to use this system, please send your config file to > cm...@www.cmake.org so it can be added to cmake > EXECUTE_PROCESS(COMMA

Re: [CMake] Evaluating CMake for My Project, some questions

2014-02-28 Thread Alexander Neundorf
On Wednesday, February 26, 2014 22:16:34 peter.wri...@microchip.com wrote: > I'm trying to see if CMake would be right for a project I'm working on. > We're in need of a configuration tool but there are a few things that I'm > not sure if CMake can do for us. > > 1. The first deals with the GUI f

Re: [CMake] Antwort: Re: Linked Resources in Eclipse Generator

2014-02-06 Thread Alexander Neundorf
On Thursday, February 06, 2014 08:45:52 AM a.gri...@erhardt-leimer.com wrote: > Hey Mister Neundorf, > > thanks for the quick reply. Problems apear not with the generated files > explicit, but with the linked resources in general. In our case the "GDB > Hardware Debugging" and the "Subversive" Plu

Re: [CMake] Linked Resources in Eclipse Generator

2014-02-05 Thread Alexander Neundorf
On Wednesday, February 05, 2014 03:19:19 PM a.gri...@erhardt-leimer.com wrote: > Hey Guys, > > one litte question. We are using the "Eclipse CDT4 Generator" and some > plugins can't work with the generated linked resources. Setting the > variable CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES=FALSE short

Re: [CMake] Announcing CMake BASIS, a set of CMake based project interoperability and automation tools

2014-01-22 Thread Alexander Neundorf
On Tuesday 21 January 2014, Andrew Hundt wrote: > CMake BASIS is a set of utilities and standards created with the goal of > making CMake projects and libraries very easy to create, share, and reuse. this reminds me a bit of automake... autoconf alone was kind of ok, then automake was added to cre

Re: [CMake] CMAKE_{C, CXX}_IMPLICIT_LINK_LIBRARIES being used even though Ada is the current language.

2014-01-03 Thread Alexander Neundorf
On Friday 03 January 2014, Tom Kacvinsky wrote: > I sent an email yesterday about -lstdc++ showing up on my link line even > though I did not request it. And I was getting -lc and -lm multiple times. > > After much digging, I tracked it down to CMAKE_CXX_IMPLICIT_LINK_LIBRARIES > and CMAKE_C_IMPL

Re: [CMake] Adding CMAKE_BUILD_TYPE support to ProjectConfig.cmake

2013-12-17 Thread Alexander Neundorf
On Tuesday 17 December 2013, J Decker wrote: > which is... build seperately into seperate directories even with makefile. > > If you don't, all sources will not recompile if you change the > cmake_buidl_type and you'll get partial debug and partial release > sources. typically, you get a differen

Re: [CMake] Embedding html in CDash output

2013-12-14 Thread Alexander Neundorf
On Friday 13 December 2013, Nils Gladitz wrote: > On 13.12.2013 16:05, Pere Mato Vila wrote: > > Hi, > > > >I would like to generate build errors (and/or test output) including > >html tags, in particular adding some links associated to some text. > >Such that on CDash I could click d

Re: [CMake] Make CMAKE_EXPORT_COMPILE_COMMANDS not default?

2013-12-08 Thread Alexander Neundorf
On Sunday 08 December 2013, Stephen Kelly wrote: > Alexander Neundorf wrote: > > It sounds to me a bit more like it should be an additional "extra" > > generator, i.e. generate makefiles/ninja files and additionally this json > > file. > > Hmm, the first

Re: [CMake] Feature request - Build Button

2013-12-08 Thread Alexander Neundorf
On Thursday 05 December 2013, Macumber, Daniel wrote: > I'm sure this has come up before but I'm curious if CMake-GUI would ever > consider adding a "Build" button? This seems like a logical step after > "Configure" and "Generate", if it was available on the command line it > could also help autom

Re: [CMake] Cmake + Eclipse with a team

2013-12-08 Thread Alexander Neundorf
On Thursday 05 December 2013, David Erickson wrote: > Hi Eric- > Thanks for the response! See inline- > > On 12/4/2013 11:17 PM, Eric Noulard wrote: > > 2013/12/5 David Erickson : > >> Hi All- > >> We would like to use cmake for our build infrastructure, and Eclipse for > >> code editing/debugging

Re: [CMake] Make CMAKE_EXPORT_COMPILE_COMMANDS not default?

2013-12-08 Thread Alexander Neundorf
On Monday 02 December 2013, Martin Zenzes wrote: > Hi, > > is there a reason why the cmake-option "CMAKE_EXPORT_COMPILE_COMMANDS" > is not enabled by default? It was exposed as an option in 2011 [1], a > few days after adding it initially. It can be enabled manually by adding > "set(CMAKE_EXPORT_C

[CMake] simple ctest question: how to run test by number ?

2013-11-15 Thread Alexander Neundorf
Hi, is there a way to have ctest execute test number x ? ctest -Ix doesn't do it, and the examples listed here http://cmake.org/Wiki/CMake/Testing_With_CTest#Running_Individual_Tests look quite complicated (i.e. more complicated than -R Alex -- Powered by www.kitware.com Please keep messages

Re: [CMake] does cmake get dependencies between asm files? and when said so does it link them?

2013-11-01 Thread Alexander Neundorf
On Friday 01 November 2013, Ivan Sergio Borgonovo wrote: > On Fri, 1 Nov 2013 17:36:33 +0100 > > Alexander Neundorf wrote: > > > If it was supposed to work right out of the box without fiddling > > > with > > > > having to set the LANGUAGE is expected for

Re: [CMake] does cmake get dependencies between asm files? and when said so does it link them?

2013-11-01 Thread Alexander Neundorf
On Friday 01 November 2013, Ivan Sergio Borgonovo wrote: > On Fri, 1 Nov 2013 12:58:32 +0100 > > Alexander Neundorf wrote: > > On Friday 01 November 2013, Ivan Sergio Borgonovo wrote: > > > On Fri, 1 Nov 2013 11:37:10 +0100 > > > > > > Alexander Neundor

Re: [CMake] does cmake get dependencies between asm files? and when said so does it link them?

2013-11-01 Thread Alexander Neundorf
On Friday 01 November 2013, Ivan Sergio Borgonovo wrote: > On Fri, 1 Nov 2013 11:37:10 +0100 > > Alexander Neundorf wrote: > > so crt0.x is the missing one, right ? > > Are you sure it is not compiled ? > > Absolutely. Once I've added > add_dependencie

Re: [CMake] assembler with non standard extension with gcc compiler

2013-11-01 Thread Alexander Neundorf
On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote: > On Thu, 31 Oct 2013 21:17:11 +0100 > > Alexander Neundorf wrote: > > On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote: > > > On Thu, 31 Oct 2013 18:01:29 +0100 > > > > > > Alexander Ne

Re: [CMake] assembler with non standard extension with gcc compiler

2013-10-31 Thread Alexander Neundorf
On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote: > On Thu, 31 Oct 2013 18:01:29 +0100 > > Alexander Neundorf wrote: > > Did you try setting the source file property "LANGUAGE" to "ASM" for > > these files ? > > http://www.cmake.org

Re: [CMake] assembler with non standard extension with gcc compiler

2013-10-31 Thread Alexander Neundorf
On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote: > Hi, > > I'm cross compiling (avr32) with a gcc compiler under Linux and I'm > using a framework where asm extensions aren't directly recognized by > cmake (.x). > > gcc is recognized as a valid C and ASM compiler during cmake > configura

Re: [CMake] CTest - Speed Optimization

2013-10-31 Thread Alexander Neundorf
On Thursday 31 October 2013, Olaf Ryder wrote: > Greetings, > > I'm looking for ways to speed up CTest runs (the Experimental target). It > would appear the majority of the time is spent during the build step. > > 1) What exactly is happening during the Experimental build step? > 2) How does CTes

Re: [CMake] TARGET.dir variable?

2013-10-21 Thread Alexander Neundorf
On Monday 21 October 2013, Weatherby,Gerard wrote: > Is there a predefined variable for the TARGET.dir subdirectory of > ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY} ? I'm rolling my own - > easy enough -but wanted to double check I'm not missing an easier way to > do it? No, there is not,

Re: [CMake] Faking a library

2013-10-19 Thread Alexander Neundorf
On Saturday 19 October 2013, you wrote: > On Sat, Oct 19, 2013 at 11:28:53AM +0400, Игорь Пашев wrote: > > 2013/10/19 Magnus Therning : > > > Is it possible to put the include path in some property on the library > > > as well, to avoid using a separate variable for that? > > > > SET_TARGET_PROPER

Re: [CMake] Faking a library

2013-10-16 Thread Alexander Neundorf
On Wednesday 16 October 2013, Magnus Therning wrote: > When defining a library via add_library() it's possible to link > against it by just putting its name into target_link_libraries(). Is > there some way of wrapping up an external library in a similar way? > > As a concrete example I'm playing

Re: [CMake] How to test for the usability of a target

2013-10-16 Thread Alexander Neundorf
On Tuesday 15 October 2013, Johannes Zarl wrote: > Hi, > > I'd like to make some code in my build system dependent on the existance of > a target. Basically I'd like to write something like this: > > if(TARGET optional_lib) > add_library(bar ${bar_srcs}) > target_link_library(bar optional_lib

Re: [CMake] Problems with auto-generated sources

2013-09-30 Thread Alexander Neundorf
On Monday 30 September 2013, Jakub Schmidtke wrote: > The workaround I found so far is to add a custom target that depends on the > targets I want to build. > So if I add this: > add_custom_target(test12 DEPENDS test1 test2) > > to my CMake file, and instead of running 'make -j test1 test2' I run

Re: [CMake] cmake and java + eclipse

2013-09-27 Thread Alexander Neundorf
On Friday 27 September 2013, ycollette.nos...@free.fr wrote: > Hello, > > I used cmake to build a java project. It worked fine. > Now, I wanted to build an eclipse project via the -G "Eclipse CDT4 - Unix > Makefiles". The generated project seems to be a C/C++ projecty which will > build Java files

Re: [CMake] NASM support?

2013-09-26 Thread Alexander Neundorf
On Thursday 26 September 2013, you wrote: > Alexander, no joy. The problem is identical: > > Root is CMakeLab > CMake Error: cmListFileCache: error can not open file R:/src/CMakeLab > CMake Error: Could not find cmake module file: > CMake Error: Could not find cmake module file: > R:/src/CMakeLab/

Re: [CMake] NASM support?

2013-09-25 Thread Alexander Neundorf
On Wednesday 25 September 2013, g...@novadsp.com wrote: > Correction: that is version 2.8.11.2 > > -Original Message- > From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of > g...@novadsp.com > Sent: 25 September 2013 18:38 > To: a.neundorf-w...@gmx.net; cmake@cmake.

Re: [CMake] NASM support?

2013-09-25 Thread Alexander Neundorf
On Tuesday 24 September 2013, g...@novadsp.com wrote: > Can anyone help? At the start of the root cmakelist.txt file > > > > PROJECT(CMakeLab) > > MESSAGE("CMakeLab") > > ENABLE_LANGUAGE(ASM-NASM) > > > > Which generates the following error(s) in CMake 2.8.10.2 on Windows: which generato

Re: [CMake] Cmake appears to substitute -llibrary when a full path is given.

2013-09-23 Thread Alexander Neundorf
On Monday 23 September 2013, S'orlok Reaves wrote: > Good afternoon all, > > > This is my first post to this list, so please redirect me if I'm in the > wrong place. So far cmake has been great, but I've run into an issue that > I am having trouble understanding. > > I'm searching for the Boost

Re: [CMake] Adding unused files to the generated project

2013-09-23 Thread Alexander Neundorf
On Sunday 22 September 2013, Lucas Soltic wrote: > Hello, > > Is it possible to add files that do not belong to any > add_executable/library so that they're visible in the IDE but not used for > building? That way I could easily work with the generated project on any > useful file, even if it's no

Re: [CMake] What is the prescribed way to link in dependencies for a static library

2013-09-17 Thread Alexander Neundorf
On Tuesday 17 September 2013, James Bigler wrote: > On Tue, Sep 17, 2013 at 11:05 AM, Dan Kegel wrote: > > On Tue, Sep 17, 2013 at 9:41 AM, James Bigler > > > > wrote: > > > I have a static library I found using find_library. Typically with > > > > shared > > > > > libraries I just link again

Re: [CMake] Clarification around "target_link_libraries"

2013-09-14 Thread Alexander Neundorf
On Friday 13 September 2013, SF Markus Elfring wrote: ... > I have got still two open issues (on my side?). > > 1. The target name can be resolved inside the build system. But how should > I determine generated file names when I want to refer to them from > external sources like installation direc

Re: [CMake] Separate compile flags for ASM/C compilers and lists

2013-09-14 Thread Alexander Neundorf
On Friday 13 September 2013, lorddoskias wrote: > Hello list, > > I have a couple of questions whose answers I couldn't find. So first > thing's first - I have the following function which I intend to use to > add a number of library targets: > > function(build_mps_m3_lib LIBRARY_NAME C_SOURCE AS

Re: [CMake] Clarification around "target_link_libraries"

2013-09-12 Thread Alexander Neundorf
On Thursday 12 September 2013, SF Markus Elfring wrote: > Hello, > > CMake supports also building of static and shared libraries together. > http://cmake.org/cmake/help/v2.8.11/cmake.html#command:add_library > > I get the impression from the tutorial that a needed library can be passed > as a tar

Re: [CMake] rpath trouble on macosx: cmake 2.8.9 ignores INSTALL_NAME_DIR and INSTALL_RPATH?

2013-09-11 Thread Alexander Neundorf
On Wednesday 11 September 2013, Clinton Stimpson wrote: > On Tuesday, September 10, 2013 04:03:08 PM Dan Kegel wrote: > > On Tue, Sep 10, 2013 at 10:43 AM, Clinton Stimpson > > wrote: > > > Using the INSTALL_RPATH property doesn't work correctly unless you use > > > CMake 2.8.12 with the target p

Re: [CMake] CMake and Dia , colorize cmake graphviz output

2013-09-11 Thread Alexander Neundorf
On Wednesday 11 September 2013, Sankar P wrote: > Hi, > > Two questions. > > I found the `cmake --graphviz=.out ` to be extremely useful. > However, is it possible to generate a .dia file instead of a .out file > ? I see that graphviz has removed support for .dia export and that is > probably the

Re: [CMake] CMake and Dia , colorize cmake graphviz output

2013-09-11 Thread Alexander Neundorf
On Wednesday 11 September 2013, Sankar P wrote: > Hi, > > Two questions. > > I found the `cmake --graphviz=.out ` to be extremely useful. > However, is it possible to generate a .dia file instead of a .out file > ? I see that graphviz has removed support for .dia export and that is > probably the

Re: [CMake] CMake Error: RPATH CHANGE

2013-09-10 Thread Alexander Neundorf
On Tuesday 10 September 2013, Jim Leek wrote: > I'm building a project on Linux x86_64 with 2.8.10.1. I set up the > project to build statically and shared. However, when I run make > install on a statically built version I get: > > CMake Error at cmake_install.cmake:45 (FILE): >file RPATH_C

Re: [CMake] Building CMake with Qt5

2013-09-07 Thread Alexander Neundorf
On Thursday 05 September 2013, Andreas Pakulat wrote: > Hi, > > On Thu, Sep 5, 2013 at 12:22 AM, Jacky Alciné wrote: > > On Wed September 4 2013 1.14.17 PM Tanweer Rashid wrote: > > > Hi, > > > > > > I am trying to build CMake 2.8.11 on my 64 bit Ubuntu 12.04. I am > > > trying > > > > to > >

Re: [CMake] ERROR when trying to Configure CMake

2013-08-30 Thread Alexander Neundorf
On Friday 30 August 2013, Rikkin wrote: > Hello, > I'm getting an error when I try to Configure CMake. This is the error: > > CMake Error at C:/Program Files (x86)/CMake > 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1382 (message): > Found unsuitable Qt version "" from NOTFOUND, this code requires

Re: [CMake] Bug for Eclipse Generator for 64-Bit Mac OS X

2013-08-28 Thread Alexander Neundorf
On Wednesday 28 August 2013, David D. Marshall wrote: > I am a long time user of CMake, and I find it very valuable. Thanks for the > great tool. > > I recently started using Eclipse on my 64-bit Mac OS X (version 10.8.4 if > that is important) for my projects. The problem is that every time I > r

Re: [CMake] [cmake-developers] CMake 2.8.12-rc1 Released

2013-08-22 Thread Alexander Neundorf
On Thursday 22 August 2013, Stephen Kelly wrote: > Alexander Neundorf wrote: > > On Tuesday 20 August 2013, Robert Maynard wrote: > >> Introduced CMake Policy 21: > >> It is now an error to use relative paths to include_directories. > > > > Why is thi

Re: [CMake] Where is a good place to install CMake scripts that are to be executed by cmake -P ?

2013-08-22 Thread Alexander Neundorf
On Thursday 22 August 2013, you wrote: > On 2013-08-21 22:41+0200 Alexander Neundorf wrote: > > On Tuesday 06 August 2013, Alan W. Irwin wrote: > >> I have a project that installs a CMake script which will be executed > >> by users using cmake -P . > >> > &g

Re: [CMake] [cmake-developers] CMake 2.8.12-rc1 Released

2013-08-21 Thread Alexander Neundorf
On Tuesday 20 August 2013, Robert Maynard wrote: > Introduced CMake Policy 21: > It is now an error to use relative paths to include_directories. Why is this necessary ? The documentation for this policy says: "The base path for such relative entries is not well defined." I don't understand t

Re: [CMake] find_package components required or not

2013-08-21 Thread Alexander Neundorf
On Thursday 15 August 2013, Lars Lars wrote: > Hello, > > The find_package macro provides the keywords "REQUIRED" and "COMPONENTS". > > > > The docs state: "The REQUIRED option stops processing with an error message > if the package cannot be found. A package-specific list of components may > b

Re: [CMake] Where is a good place to install CMake scripts that are to be executed by cmake -P ?

2013-08-21 Thread Alexander Neundorf
On Tuesday 06 August 2013, Alan W. Irwin wrote: > I have a project that installs a CMake script which will be executed > by users using cmake -P . > > Where is a reasonable place to install ? Currently I > am thinking of > > /share// what kind of files are these ? Should they be executed manua

Re: [CMake] How does CMake decide which compiler it should use?

2013-08-21 Thread Alexander Neundorf
On Thursday 08 August 2013, Bo Berglund wrote: > I have one instance of C++Builder XE4 installed and when I run CMake > it goes about testing the compiler before reaching the point where I > can select any sources to generate makefiles for. > > But if I install two older versions of C++Builder in

Re: [CMake] Cmake hangs when a custom target for running cpack is added.

2013-08-21 Thread Alexander Neundorf
On Tuesday 06 August 2013, Anil Gunturu wrote: > Hi, > A custom target in the CMakeLists.txt to run cpack seems to create a > deadlock. For example the following code hangs after emitting: > CPack: Create package using RPM > CPack: Install projects > CPack: - Install directory: /home/agunturu/proje

Re: [CMake] read file content to a variable at build-time

2013-08-21 Thread Alexander Neundorf
On Thursday 01 August 2013, Rothbauer, Stefan wrote: > Hello, > > I set up cmake to use a external project. This 3rd party library writes out > a file which contains all include paths set by this library. For the > master cmake project I need to read this information at build time into a > cmake v

Re: [CMake] Re-running automoc all the time after #13494

2013-08-21 Thread Alexander Neundorf
On Thursday 08 August 2013, Jan Kundrát wrote: > Hi, is there a solution for automoc being re-run every time when the binary > directory is in the include path (see below)? can you please enter a ticket in the cmake bug tracker for that (if you haven't done so already) ? Thanks Alex -- Powered

Re: [CMake] CDT generator help: path discovery and other items

2013-06-03 Thread Alexander Neundorf
On Monday 03 June 2013, Dixon, Joel L. wrote: > I'm new to CMake, and loving it. I'm using version 2.8.11 and have a > couple issues with the CDT generator. > > > > First, there's really no definitive help (that I've found) for the CDT > generator. The HTML generator just simply mentions the g

Re: [CMake] Cross compiling with Wind River (Diab) compiler

2013-05-27 Thread Alexander Neundorf
On Monday 27 May 2013, BILODEAU Andre wrote: > Hello > > I am presently installing makefiles for cross-compiling by using cmake > 2.8.10.2 and I have to deal with the following issues: > > 1- The toolchain, Wind River C compiler (formerly Diab) is not > mentioned into modules such as "CMakeD

Re: [CMake] Wiki: version compatibility matrix

2013-05-23 Thread Alexander Neundorf
Hi, On Saturday 28 April 2012, Johannes Zarl wrote: > Hi David, > > I tried to upload the new matrix today, but the page on standard modules is > too big (112kb): On my current internet connection I get a timeout before > the upload finishes. > > Maybe you can do the upload? The text is availabl

Re: [CMake] Status/use of CMake on Cygwin

2013-05-22 Thread Alexander Neundorf
On Monday 20 May 2013, Alan W. Irwin wrote: > On 2013-05-20 12:31+0200 Alexander Neundorf wrote: > > On Monday 20 May 2013, Alan W. Irwin wrote: > >> On 2013-05-19 21:06- David Cole wrote: > >>> Disclaimer: I have found (over the years) the Cygwin environment

Re: [CMake] Status/use of CMake on Cygwin

2013-05-20 Thread Alexander Neundorf
On Monday 20 May 2013, Alan W. Irwin wrote: > On 2013-05-19 21:06- David Cole wrote: > > Disclaimer: I have found (over the years) the Cygwin environment to > > be ridiculously, enormously slow and frustrating, and have literally > completely given up on it as a realistic development environme

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-05-07 Thread Alexander Neundorf
On Tuesday 07 May 2013, Glenn Coombs wrote: > I won't bother just yet then. Let me know if I can be of any help in > testing your fix. > > BTW, is your fix likely to make it into the pending 2.8.11 release ? Don't know, probably it's too late. Alex -- Powered by www.kitware.com Visit other Ki

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-05-05 Thread Alexander Neundorf
On Sunday 05 May 2013, Glenn Coombs wrote: > Alex, > > Would you like me to file a bug report on this ? you can do so, but I'm working on a fix already anyway. Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Ple

Re: [CMake] find_package() Config mode iteration gravely broken (Mac OpenCV KISS installation fails)

2013-04-30 Thread Alexander Neundorf
On Tuesday 30 April 2013, Andreas Mohr wrote: > On Tue, Apr 30, 2013 at 09:44:35PM +0200, Alexander Neundorf wrote: > > On Tuesday 30 April 2013, Andreas Mohr wrote: > > > Consider /opt/local/lib/cmake/OpenCVConfig-version.cmake > > > Visit /opt/local/lib/cmake

Re: [CMake] find_package() Config mode iteration gravely broken (Mac OpenCV KISS installation fails)

2013-04-30 Thread Alexander Neundorf
On Tuesday 30 April 2013, Andreas Mohr wrote: > Hi, > > tried to grab OpenCV on Mac OS 10.6 (via standard macports install), > expected it to be a walk in the park. > Imagine my surprise when this failed persistently and stubbornly. > > Turns out internet is full of reports of OpenCV Config failu

Re: [CMake] 'AUTOMOC' feature skips sources of executable targets?

2013-04-30 Thread Alexander Neundorf
On Tuesday 30 April 2013, Haroogan wrote: .. > 2. What's the point of recommending against it? Either one adds sources > by hand or one does it with GLOB - one has to rerun CMake anyway. No, this is not necessary. CMake is rerun automatically whenever necessary. By adding a file to a CMakeLis

Re: [CMake] 'AUTOMOC' feature skips sources of executable targets?

2013-04-29 Thread Alexander Neundorf
On Monday 29 April 2013, Haroogan wrote: > On 29-Apr-13 23:27, Alexander Neundorf wrote: > > On Monday 29 April 2013, Haroogan wrote: > >> Have a look at my post on StackOverflow > >> <http://stackoverflow.com/questions/16286872/cmake-automoc-feature-skips > >&g

Re: [CMake] 'AUTOMOC' feature skips sources of executable targets?

2013-04-29 Thread Alexander Neundorf
On Monday 29 April 2013, Haroogan wrote: > Have a look at my post on StackOverflow > urces-of-executable-targets> for details. > urces-of-execu

Re: [CMake] portable way of linking (external) libs statically/dynamically/for dlopen

2013-04-29 Thread Alexander Neundorf
On Monday 29 April 2013, Philippe Cerfon wrote: > Hi. > > I've always thought one of the main objectives of cmake was being > portable, right? > So I was looking for a way to let the user (i.e. the person building a > project) choose how he wan't to link each external library (i.e. not > the ones

Re: [CMake] CMake 2.8.11-rc3 ready for testing!

2013-04-29 Thread Alexander Neundorf
Hi, On Friday 19 April 2013, Robert Maynard wrote: > The CMake 2.8.11 release candidate continues. This is the last RC > unless a critical, must-fix issue is found. You can find the source > and binaries here: > http://www.cmake.org/files/v2.8/?C=M;O=D what is the current plan, will there be anot

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-29 Thread Alexander Neundorf
On Monday 29 April 2013, Glenn Coombs wrote: > I added these lines: > > set_directory_properties( > PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES > "${CMAKE_CURRENT_BINARY_DIR}/abc.txt" > ) > > # check the location where abc.txt is supposed to be deleted from > message("CURRENT_BINARY_DIR: ${CMA

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-28 Thread Alexander Neundorf
On Sunday 28 April 2013, Glenn Coombs wrote: > No, cleaning the project didn't remove that file. Can you manually set the ADDITIONAL_MAKE_CLEAN_FILES directory property to some file and check whether this file is deleted when you clean ? Something like set_directory_properties(PROPERTIES ADDITI

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-26 Thread Alexander Neundorf
On Friday 26 April 2013, Glenn Coombs wrote: > No, the yuv_player_automoc.cpp file is not removed on a clean (nor are the > other moc_*.cpp files). Having just modified ctrlBasic.cpp and > ctrlBasic.h: > > $ ls -ltr moc* ../ctrlMenu/ctrlBasic.* > -rwxr-xr-x+ 1 glenn.coombs Domain Users 4366 Apr

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-04-25 Thread Alexander Neundorf
On Thursday 25 April 2013, Glenn Coombs wrote: > Hi, > > I have a Qt4 program that I'm working on and ran into an issue yesterday > with the automoc cpp files. I had added a new slot and connected a > comboxbox currentIndexChanged signal to it but when I ran the program I > could see messages on

Re: [CMake] cmake script profiler

2013-04-25 Thread Alexander Neundorf
On Wednesday 24 April 2013, Bill Hoffman wrote: ... > > Without measuring anything, there is something else I thought about: > > there are now a bunch of useful, quite complex macros coming with cmake, > > which are used quite often: e.g. ExternalProject, > > cmake_parse_arguments(), > > find_packa

Re: [CMake] turning inverting dashboard interpretation of FATAL_ERRORs at cmake

2013-04-25 Thread Alexander Neundorf
On Thursday 25 April 2013, Matthias Kretz wrote: > On Thursday 25 April 2013 09:46:03 Bill Hoffman wrote: > > On 4/25/2013 9:15 AM, Matthias Kretz wrote: > > > I have several checks in my project that make cmake error out with > > > FATAL_ERROR. This is submitted as error to the dashboard. In reali

Re: [CMake] cmake script profiler

2013-04-24 Thread Alexander Neundorf
On Tuesday 23 April 2013, Bill Hoffman wrote: > On 4/23/2013 3:50 PM, Volo Zyko wrote: > > Hi all, > > > > We have a rather big project and use cmake for building it. At some > > point our cmake scripts became very slow (around 4 minutes for single > > cmake run). We are thinking now how to speed

Re: [CMake] Date issue on www.cmake.org

2013-04-24 Thread Alexander Neundorf
On Wednesday 24 April 2013, David Cole wrote: > Sure, but this is in web page text only meant to be read by human beings, > not in some parse-able data that’s actually important for anything. writing the name of the month usually also helps :-) Alex -- Powered by www.kitware.com Visit other Ki

Re: [CMake] Why does Project(name NONE) requires CMAKE_MAKE_PROGRAM?

2013-04-19 Thread Alexander Neundorf
On Friday 19 April 2013, Gregoire Aujay wrote: > Hello, > > It seems that the Projetct(name NONE) macro requires the CMAKE_MAKE_PROGRAM > to be defined. in usual setups this is not a problem. > This CMakelists will trigger a CMAKE_MAKE_PROGRAM not found, when trying to > cross-compile with code

Re: [CMake] TARGET_LINK_LIBRARIES got a link error

2013-04-12 Thread Alexander Neundorf
On Friday 12 April 2013, Lloyd wrote: > Hi, > > I am new to Cmake and at present exploring its features for migrating our > projects build system to use it. > > I have main source folder inside that another folder contains the source > for our custom library. > > I understand that the problem is

Re: [CMake] COMPONENTS for export files

2013-04-10 Thread Alexander Neundorf
On Wednesday 10 April 2013, Nico Schlömer wrote: > Sounds pretty good! > > One question remains: > Suppose I have components A, B, C, where both A and B depend on C. > The link line that I'd pull in with > > FIND_PACKAGE(Mypackage COMPONENTS A B) > > Would be > , , , > where all of those could

Re: [CMake] COMPONENTS for export files

2013-04-08 Thread Alexander Neundorf
On Monday 08 April 2013, Nico Schlömer wrote: > Hi all, > > I have a software project that I build and install with CMake. For > others to link against the software project, I have a > "MypackageConfig.cmake.in" from which I create "MypackageConfig.cmake" > using CONFIGURE_PACKAGE_CONFIG_FILE(). O

Re: [CMake] CMakeModules repository at GitHub?

2013-04-04 Thread Alexander Neundorf
On Thursday 04 April 2013, Mateusz Loskot wrote: > On 4 April 2013 17:44, Alexander Neundorf wrote: > > On Thursday 28 March 2013, Mateusz Loskot wrote: > >> To CMake maintainers, > >> what do you think about creating new repository at > >> > >

Re: [CMake] CMakeModules repository at GitHub?

2013-04-04 Thread Alexander Neundorf
On Thursday 28 March 2013, Mateusz Loskot wrote: > Hi, > > To CMake maintainers, > what do you think about creating new repository at > > https://github.com/Kitware/CMakeModules > > as incubator for contributed CMake modules? we are in the process of setting such a "package" up within KDE, but

Re: [CMake] Explicit _LIBRARIES and _INCLUDE_DIRS

2013-03-23 Thread Alexander Neundorf
On Friday 22 March 2013, Mateusz Loskot wrote: > On 22 March 2013 18:01, Sergei Nikulov wrote: > > 2013/3/22 Mateusz Loskot > > > >> I'm trying to build software which uses libE57 library which has > >> Xerces as dependency. > >> I build Xerces too as part of my project and I deploy it in custom

Re: [CMake] Updated code in header file ignored?

2013-03-18 Thread Alexander Neundorf
On Sunday 17 March 2013, Nick Overdijk wrote: > Howdy, > > I have a header file, vertices.hpp with some not-inline > function-definitions (yes really defs not decls), and a project, beamer. > Sometimes when I change vertices.hpp, the changes don't reflect in the > binary. I was wondering why this

Re: [CMake] Toolchain file: Texas Instrument C6000 Code Generation Tools

2013-03-17 Thread Alexander Neundorf
On Friday 15 March 2013, Florian Reinhard wrote: > I'm testing the next branch at the moment. > Changes i noticed: > setting the following options is no longer required (yay!): > SET (CMAKE_C_COMPILER_WORKS 1) > SET (CMAKE_CXX_COMPILER_WORKS 1) > #skip ABI checks > SET (CMAKE_DETERMINE_C_ABI_COMP

Re: [CMake] Toolchain file: Texas Instrument C6000 Code Generation Tools

2013-03-14 Thread Alexander Neundorf
On Thursday 14 March 2013, Robert Maynard wrote: > I am sorry I was incorrect. The changes made to close bug 12405 are going > to be in RC1. These new changes aren't going to make RC1 but should be in > RC2 if we need one. I merged TI_DSP_to_TI_2 into next. It would be great if this could still ma

Re: [CMake] Toolchain file: Texas Instrument C6000 Code Generation Tools

2013-03-14 Thread Alexander Neundorf
On Thursday 14 March 2013, Robert Maynard wrote: > These changes will be in 2.8.11 RC1 for you to test out. Cool :-) Before I merge it into next, could you have a look at the TI_DSP_to_TI branch, I had some git trouble and I'm not quite sure everything is in this branch as it should... Thanks A

Re: [CMake] Toolchain file: Texas Instrument C6000 Code Generation Tools

2013-03-14 Thread Alexander Neundorf
On Thursday 14 March 2013, Laszlo Papp wrote: > On Thu, Mar 14, 2013 at 8:59 AM, Florian Reinhard < > > florian.reinh...@googlemail.com> wrote: > > If ARM and DSP toolchain are commandline compatible, there could be an > > option to specify the architecture, like C6000 (DSP core in OMAP > > proces

Re: [CMake] Error when upgraded to 2.8.7 from 2.8.1

2013-03-14 Thread Alexander Neundorf
On Thursday 14 March 2013, newuserhere wrote: > Hi, > I am getting an error in CMAKE configuration after it was updated to 2.8.7. > The line to which error is pointed : > /find_package(PythonInterp)/ > > Well the error is as follows : > > /CMake Warning (dev) at > /usr/share/cmake-2.8/Modules/Fin

Re: [CMake] Toolchain file: Texas Instrument C6000 Code Generation Tools

2013-03-13 Thread Alexander Neundorf
Hi, it would be great if you could give the branch TI_DSP_to_TI on cmake stage ( http://cmake.org/gitweb?p=stage/cmake.git ) a try. It renames TI_DSP to TI, and searches for ar6x and strip6x. Thanks Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitw

Re: [CMake] Toolchain file: Texas Instrument C6000 Code Generation Tools

2013-03-13 Thread Alexander Neundorf
Hi Laszlo, On Tuesday 12 March 2013, Laszlo Papp wrote: > Oh, there is a "CMAKE_CXX_LINK_EXECUTABLE". That variable I did not know. > It is nice to see that one does not need to force the compiler. That would > be a bit nasty. :-) > > This feature seems to come along with the 2.8.11 release which

Re: [CMake] how to get install/strip target ?

2013-03-13 Thread Alexander Neundorf
On Wednesday 13 March 2013, Martin Koller wrote: > cmake 2.8.10, Linux: > > What do I need to do to have cmake creating a make install/strip target ? I guess you do have an install target ? AFAIK install/strip should be always there automatically. It works for me here. Can you post an example pr

Re: [CMake] cmake_parse_arguments and empty strings

2013-03-11 Thread Alexander Neundorf
On Monday 11 March 2013, Luc J. Bourhis wrote: > Consider the following snippet > > cmake_minimum_required(VERSION 2.8) > > include (CMakeParseArguments) > > function(foo) > set(options) > set(one_valued) > set(multi_valued) > cmake_parse_arguments("_" "${options}" "${one_valued}

Re: [CMake] CMake+Eclipse: how to get header files with non-standard suffix into the headers folders?

2013-03-11 Thread Alexander Neundorf
On Monday 11 March 2013, Magnus Therning wrote: > In the project I work on we have tools that generate quite a few > header files, but they are all generated with names matching *.inc. > I've added them all to the list of sources for the target, but the > generated Eclipse project doesn't list thes

Re: [CMake] Best practice for static libraries and include files

2013-03-08 Thread Alexander Neundorf
On Friday 08 March 2013, Alessandro Saccoia wrote: > > Even better, if each of your libraries declares a project, you can use > > ${lib1_SOURCE_DIR}/src, and you won't have to change it if you later > > move lib1 to a different place in the source tree. > > I didn't know about this syntax, it's ve

Re: [CMake] Best practice for static libraries and include files

2013-03-08 Thread Alexander Neundorf
On Friday 08 March 2013, Alessandro Saccoia wrote: > Dear list, > I have one problem that I would like to clarify. > Sorry for the long post, but it will be very quick to follow. > > Given a directory structure like this (hope it will indent nicely) > > CMakeLists.txt (1) > > |-lib1-CMakeLists.t

Re: [CMake] Eclipse/CMake projects show same file multiple times

2013-03-07 Thread Alexander Neundorf
On Thursday 07 March 2013, Alexander Neundorf wrote: > On Thursday 07 March 2013, Campbell Barton wrote: > > With default Eclipse project (version 2.8.10.2), "Eclipse CDT4 - Unix > > Makefiles", I get the same file showing multiple times when using > > Open-Resources

Re: [CMake] Eclipse/CMake projects show same file multiple times

2013-03-07 Thread Alexander Neundorf
On Thursday 07 March 2013, Campbell Barton wrote: > With default Eclipse project (version 2.8.10.2), "Eclipse CDT4 - Unix > Makefiles", I get the same file showing multiple times when using > Open-Resources. > > It also shows object files in the listing (.o) which is fairly > annoying and makes Op

Re: [CMake] How does cmake find its compiler?

2013-03-04 Thread Alexander Neundorf
On Monday 04 March 2013, Daniel Russel wrote: > I'm not very clear on how cmake chooses which compiler it uses by default. > Specifically, we have a system where a there is an old version of gcc > installed in the system and then a newer version installed elsewhere, but > in the PATH (so running g+

Re: [CMake] Per-target include dirs that work in both 2.8.7 and 2.8.10.2?

2013-02-28 Thread Alexander Neundorf
On Thursday 28 February 2013, Magnus Therning wrote: > The other day I was putting together some cmake files and made them > work on my system, where I have version 2.8.10.2 installed. After > giving my work to a colleague he reported that it didn't work. It > came down to him using version 2.8.7

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