Re: [CMake] Eclipse generator - scanner-discovered include paths and pre-processor symbols

2011-03-11 Thread Alexander Neundorf
On Friday 11 March 2011, Chatterjee, Shash wrote: Hi, Using CDT-2.8.2 on Fedora Core 14, and Eclipse Indigo/CDT (20101216-1529). Most everything works fine in the .project/.cproject, except the CDT indexer cannot find the compiler's built-in include paths/files and pre-processor symbols.

Re: [CMake] How to specify precedence when using enable_language to search for compilers

2011-03-12 Thread Alexander Neundorf
On Saturday 12 March 2011, rocwhite168 wrote: Hi everyone, I wonder how I can specify precedence when using enable_language to search for compilers. For example, if my system has both ifort and gfortran installed, and I want to use ifort instead of the gfortran, how could I set up this? You

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Alexander Neundorf
On Monday 14 March 2011, Enrique Izaguirre wrote: Hello friends, I have a problem when I try to compile several files, for some reason it takes only the first of the list to build it. It displays a few warnings and at the end the following error: make[2]: ***

Re: [CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

2011-03-14 Thread Alexander Neundorf
On Monday 14 March 2011, Chatterjee, Shash wrote: Hi Alex, The included dirs and preprocessor symbols that are added, come from the CMake definitions, and are needed. The container defintion is different, it adds the dirs and symbols that are built-in to the compiler/pre-processor, and the

Re: [CMake] Asm support

2011-03-15 Thread Alexander Neundorf
Hi, On Tuesday 15 March 2011, Robert Bielik wrote: Robert Bielik skrev 2011-03-15 08:59: Using 2.8.4, I'm trying to add an assembler file with cmake (64 bit VS2008 build), but I'm at a loss, I tried: ENABLE_LANGUAGE(ASM_MASM) IF(NOT CMAKE_ASM_MASM_COMPILER_WORKS) MESSAGE(FATAL_ERROR

Re: [CMake] QtCreator project generator

2011-03-15 Thread Alexander Neundorf
On Tuesday 15 March 2011, Daniel Teske wrote: Hi, My collegae has created the required patch for QtCreator 2.1.0 which actually uses the defines created by the CMake patch. Attached. I'd apply a patch like that to Creator. (There are some minor issues with it and it has to come via a

Re: [CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

2011-03-15 Thread Alexander Neundorf
On Tuesday 15 March 2011, Chatterjee, Shash wrote: Hi Alex, Yes, that is correct, that one pathentry line added to .cproject is all that is needed from the generator. The scanner simply detects the built-in symbols and paths and sticks them in the container. Then, the container

Re: [CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

2011-03-16 Thread Alexander Neundorf
On Wednesday 16 March 2011, Chatterjee, Shash wrote: Hi Alex, In my case, I get little yellow icons with a question mark on the editor's left-hand gutter, with a unresolved inclusion: blah. This happens on every new import, but also if I make changes to any CMakeLists.txt file within the

Re: [CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

2011-03-20 Thread Alexander Neundorf
On Wednesday 16 March 2011, Chatterjee, Shash wrote: Hi Alex, In my case, I get little yellow icons with a question mark on the editor's left-hand gutter, with a unresolved inclusion: blah. This happens on every new import, but also if I make changes to any CMakeLists.txt file within the

Re: [CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

2011-03-24 Thread Alexander Neundorf
On Thursday 24 March 2011, Chatterjee, Shash wrote: Hi Alex, I have attached a tar file with a tiny example project that shows the behaviour. Screenshot-1 shows the problem (this is the config included in the tar file), Screenshot-2 shows the state after I fixed it manually. I had a look at

Re: [CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

2011-03-27 Thread Alexander Neundorf
On Friday 25 March 2011, Chatterjee, Shash wrote: Hi Alex, - CMakeFindEclipseCDT4.cmake : this is slightly changed version from the one shipped with cmake 2.8.4, it produces debug output. Please replace the CMakeFindEclipseCDT4.cmake in your cmake 2.8.4 installation with this file. Then

Re: [CMake] Eclipse generator - scanner-discovered include pathsand pre-processor symbols

2011-04-03 Thread Alexander Neundorf
Hi, On Tuesday 29 March 2011, Chatterjee, Shash wrote: Hi Alex, Thanks for the change. The version you sent didn't end up working here (with just a CXX project). The line to set the compiler is checking for CXX but, at least on my system, ${_lang} is set to c++. Once I changed the line

Re: [CMake] Problems with using libraries that supercede system libraries

2011-04-11 Thread Alexander Neundorf
On Monday 11 April 2011, cheshirekow wrote: I'm pretty new to cmake and I'm trying to port an (early) project with gtkmm-3.0. The project builds fine with my makefiles, so I know I don't have errors in the code. I'm running ubuntu lucid so I don't want to install gtkmm-3.0 (and it's dozen

Re: [CMake] embedded path in shared library linked into another shared library

2011-04-13 Thread Alexander Neundorf
On Tuesday 12 April 2011, Michael Hertling wrote: On 04/11/2011 11:10 PM, David Aiken wrote: That didn't work for me.. I've got it simplified down to: SET(CMAKE_SKIP_RPATH TRUE) and in the CMakeCache.txt I see: CMAKE_SKIP_RPATH:BOOL=NO That's not surprising as your SET() command doesn't

Re: [CMake] embedded path in shared library linked into another shared library

2011-04-14 Thread Alexander Neundorf
On Thursday 14 April 2011, Michael Hertling wrote: On 04/13/2011 08:52 PM, Alexander Neundorf wrote: On Tuesday 12 April 2011, Michael Hertling wrote: On 04/11/2011 11:10 PM, David Aiken wrote: That didn't work for me.. I've got it simplified down to: SET(CMAKE_SKIP_RPATH TRUE

Re: [CMake] Compile flags for a single file

2011-04-18 Thread Alexander Neundorf
On Monday 18 April 2011, The Novice Coder wrote: I've been trying most things I can think of, but have been unable to come up with a solution.. the basic gist is I need to change the compile flags for a SINGLE file within a project. Specifically, disabling all compile warnings for that

Re: [CMake] CodeBlocks generator

2011-04-19 Thread Alexander Neundorf
On Tuesday 19 April 2011, Dan Schmidt wrote: Hi everybody, I was wondering if anyone has run into the following problem. With version 2.8.2 of cmake, the project generated for C::B included the tree of the src files starting at the base of the project. However, I've upgraded to cmake 2.8.4,

Re: [CMake] Creating dependencies after adding an external project?

2011-04-20 Thread Alexander Neundorf
On Wednesday 20 April 2011, Lori Pritchett-Sheats wrote: I have a project that depends on HDF5. A user can either specify an existing installation and thus use a find_package or choose to have HDF5 built with the project. I've been using Paraview as a template to implement this but I can't

Re: [CMake] Possiblity to speedup the build by compiling multiple files in one compiler invocation

2011-04-26 Thread Alexander Neundorf
On Tuesday 26 April 2011, Martin Nielsen wrote: Hi, I have been asked to look into the possibilities of compiling multiple files in one invocation of the compiler like: armcc.exe ... file1.c file2.c ... fileN.c -o mylib.lib The cross compiler we are using requires a license in order to

Re: [CMake] Changing installation prefix triggers re-linking of all libraries

2011-04-29 Thread Alexander Neundorf
On Friday 29 April 2011, Pere Mato Vila wrote: Perhaps somebody can give me some hints on this problem I have. I build a project and install it in path/install with make install. Then I do change the installation prefix with cmake -DCMAKE_INSTALL_PREFIX=path/install2 ../root_cmake/ and if I

Re: [CMake] Code::Blocks Source Tree

2011-05-04 Thread Alexander Neundorf
On Tuesday 03 May 2011, Jesse Werner wrote: When I build a Code::Blocks project my source tree in the Management window starts from the home folder. Is there a way to change this? I would like it to be relative to my project folder. I have done some searching for the solution and someone said

Re: [CMake] build dependency graph?

2011-05-04 Thread Alexander Neundorf
On Tuesday 03 May 2011, Anders Wallin wrote: Hi all, I'm trying this to generate a graphviz dependency graph http://www.cmake.org/Wiki/CMake:For_CMake_Hackers however I have most of my code in sub-directories with their own CMakeLists.txt files which are included from the root directory

Re: [CMake] Enabling C++0x support

2011-05-05 Thread Alexander Neundorf
On Wednesday 04 May 2011, Guido Winkelmann wrote: Hi, Is there a way to specify, in a cross-platform compatible manner, that a given C++ source file (or a target or an entire project) requires support for C++ 0x, so that whatever compiler flags would be necessary for that No, cmake doesn't

Re: [CMake] adding a link directory

2011-05-08 Thread Alexander Neundorf
On Sunday 08 May 2011, Liam Kurmos wrote: thanks Rolf, but no joy. i must have done something else wrong. Is there a way to make cmake output the link command? make VERBOSE=1 i get undefined link errors (as below). when i made a simple test of linking these with a gcc command everything

Re: [CMake] Testing for the presence of an element in a list

2011-05-10 Thread Alexander Neundorf
On Tuesday 10 May 2011, J.S. van Bethlehem wrote: Hello everyone, A silly question maybe, but I'm pretty sure at some point I read in some piece of CMake documentation about a direct way to test for the presence of an element in some list. So the following in a single command: list(FIND

Re: [CMake] many false positives in ctest error/warning reporting

2011-05-10 Thread Alexander Neundorf
Hi Matthias, On Tuesday 10 May 2011, Matthias Kretz wrote: Hi, the regular expressions for errors and warnings in Source/CTest/cmCTestBuildHandler.cxx appear to be too general. I have a dashboard where all of the nightly builds are done with parallel builds (-j24 for the machine with the

Re: [CMake] many false positives in ctest error/warning reporting

2011-05-10 Thread Alexander Neundorf
On Tuesday 10 May 2011, Matthias Kretz wrote: Hi Alex! On Tuesday 10 May 2011 21:47:41 Alexander Neundorf wrote: On Tuesday 10 May 2011, Matthias Kretz wrote: Are you using cmake = 2.8 ? If so, there the switch CTEST_USE_LAUNCHERS. If this is set in your ctest- script, the output

[CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Alexander Neundorf
Hi, I'd like to set up a kind of meta super project, which builds a bunch of subprojects, which contains executable and shared libraries. These subprojects come from different repositories, mostly git repositories. AFAIK I can basically do this using the ExternalProject_add() feature of cmake,

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Alexander Neundorf
On Wednesday 11 May 2011, Jean-Christophe Fillion-Robin wrote: Hi Alexander, Assuming the subproject are CMakeified: 1) Set the INSTALL command of each External project to an empty string ...but the INSTALL_DIR to the final location I assume ? Then the project will be built in build

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-14 Thread Alexander Neundorf
On Thursday 12 May 2011, Michael Hertling wrote: On 05/11/2011 09:07 PM, Alexander Neundorf wrote: Hi, I'd like to set up a kind of meta super project, which builds a bunch of subprojects, which contains executable and shared libraries. These subprojects come from different

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-15 Thread Alexander Neundorf
On Sunday 15 May 2011, Michael Hertling wrote: On 05/14/2011 07:57 PM, Alexander Neundorf wrote: ... Indeed, RPATH-related dependencies among the intermediately installed subprojects are malicious. In order to solve the problem you outlined without doing the whole stuff as root, you would need

Re: [CMake] Forcing CMake to never search install path

2011-05-16 Thread Alexander Neundorf
On Monday 16 May 2011, John Drescher wrote: I've been struggling to find a way to prevent CMake from using CMAKE_INSTALL_PREFIX in any of its FIND_* routines. Generally speaking, stripping it out of CMAKE_SYSTEM_PREFIX_PATH seems to work, but we're still getting situations on Windows

Re: [CMake] Double redefinition of commands...

2011-05-19 Thread Alexander Neundorf
On Thursday 19 May 2011, Theodore Papadopoulo wrote: Hello, I'm facing with the following problem, I'm using the _XXX trick to access the previous version of a command. Unfortunately, this is not quite what I need because of a double redefinition of the command. Here is a small

Re: [CMake] many false positives in ctest error/warning reporting

2011-05-21 Thread Alexander Neundorf
On Thursday 19 May 2011, Matthias Kretz wrote: Hi, On Tuesday 10 May 2011 21:47:41 Alexander Neundorf wrote: Are you using cmake = 2.8 ? If so, there the switch CTEST_USE_LAUNCHERS. If this is set in your ctest- script, the output parsing works better. After I set CTEST_USE_LAUNCHERS

Re: [CMake] CMake 2.8.5-rc1 ready for testing!

2011-05-25 Thread Alexander Neundorf
On Wednesday 25 May 2011, David Cole wrote: I am happy to announce that CMake 2.8.5 has entered the release candidate stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D Following is the list of changes in this release. Please try this version of CMake

Re: [CMake] INSTALL with RENAME

2011-05-26 Thread Alexander Neundorf
On Thursday 26 May 2011, J Decker wrote: How do I install a single target as multiple names? (for something like busybox) Did you try install(CODE ... ) or install(SCRIPT ... ) to create symlinks at install time ? Alex ___ Powered by www.kitware.com

Re: [CMake] CMake pod cast

2011-05-27 Thread Alexander Neundorf
On Friday 27 May 2011, Bill Hoffman wrote: Last week I did an interview for the High Performance Computing (HPC) and Research Computing Podcast. It can be found here: http://www.rce-cast.com/ Just found that CMake (and also VTK) is also covered here: http://www.aosabook.org/en/ Cool :-)

Re: [CMake] Scanning dependencies of target xxx is very slow.

2011-06-02 Thread Alexander Neundorf
On Friday, June 03, 2011 04:01:54 AM jianhua wrote: Hey all; I am a new bible of CMAKE, I just use cmake to rewrite my previous project, the problem is that the process Scanning dependencies of target is really very slow, it will always take more than 20 to 30 minutes for scanning. What

Re: [CMake] VxWorks Cross Compilation Strategy

2011-06-03 Thread Alexander Neundorf
On Saturday, June 04, 2011 01:28:51 AM Dan Furtney wrote: I need to perform cross compile builds for three different types of VxWorks compilers. I was able to build a simple program using the strategy provided on the wiki. This, however, does not let me target the a specific linker and scripts

Re: [CMake] VxWorks Cross Compilation Strategy

2011-06-04 Thread Alexander Neundorf
On Saturday, June 04, 2011 05:09:27 PM Dan Furtney wrote: Can the pre-link commands be added to the vxworks.cmake with a ADD_CUSTOM_COMMAND call? I initially tried doing this in the CMakeLists.txt file via a ADD_CUSTOM_COMMAND(TARGET...) call and a special LINK command I can't recall. So

Re: [CMake] setting the shell env

2011-06-04 Thread Alexander Neundorf
On Saturday, June 04, 2011 09:57:44 PM dfurt...@cox.net wrote: Usually we use the vxworks command shell to do command line builds. Windriver supplys many utilites including its own sh.exe. Is there a way to tell CMake to use the windriver sh and/or env setup? Please keep the mailing list on

Re: [CMake] GenerateExportHeader macrr for CMake?

2011-06-05 Thread Alexander Neundorf
On Sunday, June 05, 2011 08:43:02 PM Hendrik Sattler wrote: Am Sonntag, 5. Juni 2011, 18:16:03 schrieb Michael Wild: On 06/05/2011 05:34 PM, Hendrik Sattler wrote: Am Sonntag, 5. Juni 2011, 11:45:20 schrieb Stephen Kelly: Hendrik Sattler wrote: Really why? There is no dynamic content

Re: [CMake] Scanning dependencies of target xxx is very slow.

2011-06-06 Thread Alexander Neundorf
On Monday, June 06, 2011 05:28:48 AM jianhua wrote: Hi Neundorf; Thanks for your kindly response on this issue. Usually it is not that slow. Can you give us some more information ? Of how many files consists your target approximately ? Under which operating system ? Is it maybe on NFS

Re: [CMake] cmake - preventing `make clean` from cleaning ExternalProject.

2011-06-07 Thread Alexander Neundorf
On Tuesday, June 07, 2011 04:41:03 AM jeeyoung kim wrote: I was wondering if there's some way to prevent make clean in cmake from re-building external dependencies. I'm using ExternalProject to build third party c++ libraries, and they do not have to be rebuilt even if I do make clean. On

Re: [CMake] submit after partial buildup

2011-06-08 Thread Alexander Neundorf
On Wednesday 08 June 2011, Ilias Miroslav wrote: Dear CMake developers, for our oproject we are utilizing the 'make Exerimental' and 'make Nigthly' commands to make the all (update)/configure/build/test and sending report steps. One can see that on our CDash-board, like

Re: [CMake] cmake - preventing `make clean` from cleaning ExternalProject.

2011-06-08 Thread Alexander Neundorf
On Tuesday 07 June 2011, Alexander Neundorf wrote: On Tuesday, June 07, 2011 04:41:03 AM jeeyoung kim wrote: I was wondering if there's some way to prevent make clean in cmake from re-building external dependencies. I'm using ExternalProject to build third party c++ libraries, and they do

Re: [CMake] installing without building the whole project

2011-06-13 Thread Alexander Neundorf
On Thursday 09 June 2011, Michael Hertling wrote: On 06/09/2011 03:34 PM, Dominik Szczerba wrote: Hi, I have a big project with several subfolders. In one subfolder's cmake file I have e.g. INSTALL(TARGETS test DESTINATION ${CMAKE_INSTALL_PREFIX} CONFIGURATIONS RELEASE) Now

Re: [CMake] ccmake options organization

2011-06-13 Thread Alexander Neundorf
On Friday 10 June 2011, Tim Gallagher wrote: Hi all, We have a code that has a lot of options to enable/disable at compile time, and we'd also like to use ccmake to generate input files to run the code (possibly several hundred options combined). But the way the curses gui organizes things

Re: [CMake] (no subject)

2011-06-13 Thread Alexander Neundorf
On Monday 13 June 2011, Gabriel Nützi wrote: Hello I have the following stupid problem with cmake: I want CMAKE_BUILD_TOOL or the deprecated CMAKE_MAKE_PROGRAM to be set to /usr/bin/make -j12(for multithreaded build) how can we pass arguments to the build tool (make)? in

Re: [CMake] Doesn't support SHARED libraries during cross compiling using ARM RVCT40.

2011-06-15 Thread Alexander Neundorf
On Wednesday 15 June 2011, jianhua wrote: Hi All; No matter Linux or Windows, when try to build SHARED library, it will always get the following error message. ADD_LIBRARY(hello SHARED hello.c) ADD_LIBRARY for library hello is used with the SHARED option, but the target platform supports

Re: [CMake] Doesn't support SHARED libraries during cross compiling using ARM RVCT40.

2011-06-16 Thread Alexander Neundorf
On Thursday 16 June 2011, jianhua wrote: Hi Neundorf; Thanks for your continuous help, you have helped me to solve 2 threads now. After remove line SET (CMAKE_SYSTEM_NAME Generic) now it works. The target device OS is Brew MP, something like eCos, but it is much simpler, powered by

Re: [CMake] How does cmake find libraries?

2011-06-16 Thread Alexander Neundorf
On Thursday 16 June 2011, Doug wrote: I've not had a problem with this before, but I'm having an odd issue where cmake is finding libpng when it doesn't exist on an OSX machine. I'm using Findlibpng.cmake: include(LibFindMacros) find_path(LIBPNG_INCLUDE_DIR NAMES png.h PATHS

Re: [CMake] FindOpenEXR.cmake inclusion in cmake modules?

2011-06-16 Thread Alexander Neundorf
On Thursday 16 June 2011, David Cole wrote: First, ask if the module is really necessary. If, instead, you can add an OpenEXRConfig.cmake file to the OpenEXR project itself, and install it in a place that cmake's find_package will automatically find it, then a find module is unnecessary.

Re: [CMake] Interrogate header files without TRY_RUN

2011-06-16 Thread Alexander Neundorf
On Thursday 16 June 2011, David Gobbi wrote: Hi All, Is there a way for CMake to search for macro definitions in header files without doing a try_run? The reason I'm asking is that eventually I'll require FindPython.cmake to report the version of python that it finds. But I don't want to

Re: [CMake] FindOpenEXR.cmake inclusion in cmake modules?

2011-06-16 Thread Alexander Neundorf
On Thursday 16 June 2011, Campbell Barton wrote: 2011/6/16 Alexander Neundorf a.neundorf-w...@gmx.net: On Thursday 16 June 2011, David Cole wrote: First, ask if the module is really necessary. If, instead, you can add an OpenEXRConfig.cmake file to the OpenEXR project itself, and install

Re: [CMake] Dependencies and libraries..How does it work?

2011-06-17 Thread Alexander Neundorf
On Friday 17 June 2011, Glenn Coombs wrote: If the library you are trying to build is one that is totally under your control then really it should be a subdirectory of your MY_APP source tree so that you can call add_subdirectory() on it. If MY_LIB is shared across multiple projects then you

Re: [CMake] ExternalProject in 2.6

2011-06-20 Thread Alexander Neundorf
On Monday 20 June 2011, Ilja Golshtein wrote: Michael, the problem is I cannot make my project dependent on CMake 2.8 since 2.8 does not exist in major server distros. You can simply wget the binary release for Linux and unpack it somewhere, e.g. in /opt/. It will work and it is completely

Re: [CMake] Unexpected find_path() result

2011-06-20 Thread Alexander Neundorf
On Monday 20 June 2011, Pere Mato Vila wrote: I am on a MaxOSX system with cmake version 2.8.4 and I am having problems with find_project(x11). I have narrowed the problem with a very simple test. The following lines as top level CMakeLists.txt file cmake_minimum_required(VERSION 2.8)

Re: [CMake] Where is QT_USE_IMPORTED_TARGETS not safe to use?

2011-06-22 Thread Alexander Neundorf
On Wednesday 22 June 2011, Stephen Kelly wrote: Wups, sent a moment to early... Stephen Kelly wrote: Clinton Stimpson wrote: It means the target must be created again with something like add_library(Qt4::QtCore UNKNOWN IMPORTED) If GrantleeConfig.cmake were to do this:

Re: [CMake] How to handle COMPONENT arguments to find_package in my Config file?

2011-06-22 Thread Alexander Neundorf
On Wednesday 22 June 2011, Stephen Kelly wrote: Hi, In my GrantleeConfigVersion.cmake.in I can use ${PACKAGE_FIND_VERSION} which I presume is filled from the find_package command (I just copied the file from elsewhere). Is there an equivalent for COMPONENTS so that if someone does a

Re: [CMake] Where is QT_USE_IMPORTED_TARGETS not safe to use?

2011-06-22 Thread Alexander Neundorf
GrantleeTargets.cmake file. Alexander Neundorf wrote: IMPORTED_LINK_INTERFACE_LIBRARIES_DEBUG Qt4::QtCore The statement above has the effect than when a user of Grantlee in a his project named Foo links against the Grantlee library, it will additionally link against Qt4::QtCore

Re: [CMake] Parallel make custom command

2011-06-30 Thread Alexander Neundorf
On Wednesday 29 June 2011, Marcel Loose wrote: ... After I had posted my question I realized that this issue has come up quite recently on the mailing list in a thread that I started -- see http://www.mail-archive.com/cmake@cmake.org/msg36362.html. Although the original question was related to

Re: [CMake] Makefiles without reference to CMake?

2011-07-06 Thread Alexander Neundorf
On Wednesday 06 July 2011, Bello, Musodiq O (GE Healthcare) wrote: Thanks, Michael. But is there a way to make the references to CMake a relative path rather than an absolute path? This will allow us to bundle CMake with the source tree. You can bundle CMake with the source tree, but you can't

Re: [CMake] CMAKE_ROOT issue in scratchbox, N9(50)

2011-07-06 Thread Alexander Neundorf
On Tuesday 05 July 2011, Laszlo Papp wrote: Hi, I am trying to build a package in scratchbox on Harmattan, but I am having a small issue in the installation step (The compilation and build went just fine). Everything worked just fine previously on MeeGo and desktop system. This is the first

Re: [CMake] set(... CACHE ) broken for CMAKE_C_FLAGS_{DEBUG, RELEASE, ...} ?

2011-07-06 Thread Alexander Neundorf
On Wednesday 06 July 2011, Jerry Gagelman wrote: I'm redistributing a library for which the original authors have hand coded their own Makefile, but I would like to streamline everything with CMake. Their Makefile provides for Debug and Release flavored configurations, each has its own set of

Re: [CMake] set(... CACHE ) broken for CMAKE_C_FLAGS_{DEBUG, RELEASE, ...} ?

2011-07-06 Thread Alexander Neundorf
On Wednesday 06 July 2011, Jerry Gagelman wrote: 2011/7/6 Alexander Neundorf a.neundorf-w...@gmx.net On Wednesday 06 July 2011, Jerry Gagelman wrote: If these variables exist already in the cache, then a simple set(... CACHE ...) does not override the value which is already

Re: [CMake] set(... CACHE ) broken for CMAKE_C_FLAGS_{DEBUG, RELEASE, ...} ?

2011-07-07 Thread Alexander Neundorf
Hi, On Wednesday 06 July 2011, Jerry Gagelman wrote: Thanks, Alex. That was my bad. I also realized that the CXX_FLAGS were (correctly) getting passed to the compiler. Changing CMakeLists.txt accordingly does fix the last problem that I reported. I'm happy that I could help you. So the

Re: [CMake] New Module: FindSDL_gfx.cmake

2011-07-07 Thread Alexander Neundorf
On Thursday 07 July 2011, David Cole wrote: ... Indeed, it would be preferable. Actually, I would prefer it if all of the Find modules were installed as part of the project that they represent rather than being in CMake itself. You probably didn't mean that ;-) Projects themselves should

Re: [CMake] Wiki: version compatibility matrix

2011-07-12 Thread Alexander Neundorf
Hi, On Saturday 04 December 2010, Johannes Zarl wrote: Hello, The compatibility matrix for different versions of cmake is now complete and awaits review: http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix Apart from factual errors and things I might have missed, I am also

Re: [CMake] $ expressions in include_directories command

2011-07-13 Thread Alexander Neundorf
On Wednesday 13 July 2011, Daniel Pfeifer wrote: 2011/7/13 Andreas Pokorny andreas.poko...@gmail.com Such an improvement would be very welcome.. but.. have you considered a different user interface? Yes, i have considered that. E.g. take a look at static libraries, CMake already

Re: [CMake] Compile error- select() support

2011-07-14 Thread Alexander Neundorf
On Thursday 14 July 2011, Jeff Dahl wrote: I have an old sparc system running Linux on which I am trying to compile CMake. I am able to bootstrap just fine, but when I run make, I get the following error: Building C object Utilities/cmcurl/CMakeFiles/cmcurl.dir/select.o

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-20 Thread Alexander Neundorf
On Wednesday 20 July 2011, Florian Reinhard wrote: Hi, in 2.8.4 i added these lines to my project and had .asm files compiled correctly: ...set C/CXX compiler and how they are called... ENABLE_LANGUAGE(ASM) SET (CMAKE_ASM_COMPILE_OBJECT CMAKE_C_COMPILER -fr=OBJECT_DIR -eo=.asm.obj

Re: [CMake] Why is macro PARSE_ARGUMENTS() not part of standard CMake modules?

2011-07-20 Thread Alexander Neundorf
On Wednesday 20 July 2011, Jean-Christophe Fillion-Robin wrote: Hi Marcel, Before CMAKE_PARSE_ARGUMENT [1] was integrated (11 months ago by Alex Neundorf), within CTK, we created a macro named ctkMacroParseArgument based on [2]. Yes, so it is in cmake since 2.8.3. Alex

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-21 Thread Alexander Neundorf
/20 Alexander Neundorf a.neundorf-w...@gmx.net: Damn, I was so sure I updated the wiki, but apparently I didn't. So here are the old docs, but this changed quite a bit for 2.8.5: http://www.vtk.org/Wiki/CMake/Assembler What it does now: the language ASM is now for assembler files which

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-22 Thread Alexander Neundorf
On Thursday 21 July 2011, Florian Reinhard wrote: Hi Alex, Thank you for the quick response, 2011/7/20 Alexander Neundorf a.neundorf-w...@gmx.net: Damn, I was so sure I updated the wiki, but apparently I didn't. So here are the old docs, but this changed quite a bit for 2.8.5: http

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-23 Thread Alexander Neundorf
On Friday 22 July 2011, Johan Björk wrote: Alex, I'm trying to conditionally enable ASM support for my compilers that support it (I have a project that gets crosscompiled to a whole slew of architectures). In an ideal situation, I would use ENABLE_LANGUAGE(ASM OPTIONAL) and check the

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

2011-07-29 Thread Alexander Neundorf
On Friday 29 July 2011, David Cole wrote: Hi all, Replies requested. Short replies only. Read on. Just a short reply with bug numbers or links to the bugs is all we need here. Please move specific discussions into the bugs themselves or start a new thread to talk about it... Replies on this

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-29 Thread Alexander Neundorf
On Friday 29 July 2011, Florian Reinhard wrote: Yay! Native support for cl6x TI compiler! :) 2011/7/22 Alexander Neundorf a.neundorf-w...@gmx.net: Can you build cmake from this branch I just created ? http://cmake.org/gitweb?p=stage/cmake.git;a=shortlog;h=refs/heads/TI_DSP_ Compiler

Re: [CMake] Cross Compiling with cmake 2.8.5

2011-07-29 Thread Alexander Neundorf
On Wednesday 27 July 2011, r.cze...@esa-grimma.de wrote: Hi all, I tried to cross-compile an internal application for windows on a linux machine, but failed, because cmake at some point re-start the configure process, and drops the CMAKE_SYSTEM_NAME variable along that way. Attached is a

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

2011-08-01 Thread Alexander Neundorf
On Saturday 30 July 2011, Alan W. Irwin wrote: Please do a fundamental fix for http://public.kitware.com/Bug/view.php?id=9220. Since I implemented this, I feel responsible for it. But most probably I will not be able to do this for 2.8.6. At least I'll try to make it work again for ASM. Alex

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-08-01 Thread Alexander Neundorf
On Monday 01 August 2011, Florian Reinhard wrote: 2011/7/29 Alexander Neundorf a.neundorf-w...@gmx.net: On Friday 29 July 2011, Florian Reinhard wrote: 2011/7/22 Alexander Neundorf a.neundorf-w...@gmx.net: Can you build cmake from this branch I just created ? http://cmake.org/gitweb?p

Re: [CMake] Assembly language support using gcc or gas

2011-08-02 Thread Alexander Neundorf
Hi, On Tuesday 02 August 2011, Glenn Coombs wrote: Previously with cmake 2.8.4 we were using these lines to compile an with 2.8.5 there was a major rework of the assembler support (and now it finally does not say Assembler support is experimental anymore). Sorry that this causes inconvenience

Re: [CMake] Assembly language support using gcc or gas

2011-08-03 Thread Alexander Neundorf
Hi, On Wednesday 03 August 2011, Glenn Coombs wrote: I tried changing from ASM to ASM-ATT and that fails like this: /usr/bin/as -I/user/grc/msvdx-cvsfiles/sim/msvdx-cmake-2.8.5/systemC/src -I/user/grc/msvdx-cvsfiles/sim/msvdx-cmake-2.8.5/systemC/src/sysc/kernel -DNOMINMAX

Re: [CMake] append command

2011-08-11 Thread Alexander Neundorf
On Thursday 11 August 2011, Michael Hertling wrote: ... Alternatively, one might consider to introduce a new, say, modifier CONCAT for the SET() command, e.g. SET(variable value ... CONCAT [SEP sep]) equivalent to SET(variable ${variable}sepvalue...) I'm not sure this is actually

Re: [CMake] append command

2011-08-15 Thread Alexander Neundorf
On Friday 12 August 2011, Michael Hertling wrote: On 08/11/2011 10:04 PM, Alexander Neundorf wrote: On Thursday 11 August 2011, Michael Hertling wrote: ... Alternatively, one might consider to introduce a new, say, modifier CONCAT for the SET() command, e.g. SET(variable value

Re: [CMake] .S files and assembler

2011-08-16 Thread Alexander Neundorf
On Wednesday 10 August 2011, Micha Renner wrote: Hi, in http://www.cmake.org/pipermail/cmake/2009-November/033346.html I found the line: If the file (.S) needs to be preprocessed, set the LANGUAGE source file property to C, this should work in most cases for now. Is this still the way to

Re: [CMake] append command

2011-08-16 Thread Alexander Neundorf
On Monday 15 August 2011, John Drescher wrote: Anybody else has an opinion on this ? My preference is to drop the idea since the set command already allows you to append a string. I meant for set_property(), not for set(). IMO for set_property() it makes sense, since there it replaces not

Re: [CMake] ok guys, why is configure_file() so sucky?

2011-08-23 Thread Alexander Neundorf
On Wednesday 17 August 2011, David Cole wrote: On Wed, Aug 17, 2011 at 10:32 AM, Bill Hoffman bill.hoff...@kitware.com wrote: On 8/17/2011 10:17 AM, Andreas Mohr wrote: [cue maximally inflammatory subject ;)] Hi, I keep encountering template file processing where @VAR@

Re: [CMake] CDT4 generator: source path configured incorrectly

2011-08-23 Thread Alexander Neundorf
On Wednesday 17 August 2011, Simon Barner wrote: Dear list, I use CMake 2.8.5 to generate Eclipse CDT4 projects (Eclipse Helios SR2 for C/C++ developers, CDT with mingw makefiles) on Windows 7 (32 bit). Since 2.8.5, for each project that is added using add_subdirectory(), a linked

Re: [CMake] RPATH/RUNPATH

2011-08-23 Thread Alexander Neundorf
On Friday 19 August 2011, Michael Hertling wrote: On 08/17/2011 10:03 PM, Knox, Kent wrote: Yes, that's right. I'm currently using cmake with RPATH, but from what I've been reading the RUNPATH header is now the more preferred approach. If the user does not set LD_LIBRARY_PATH, the RUNPATH

Re: [CMake] CMake and NaCl (Google NativeClient)

2011-08-23 Thread Alexander Neundorf
On Thursday 11 August 2011, Nils Hjelte wrote: Hello! I'm trying to port a C++ project to NaCl (http://code.google.com/chrome/nativeclient/), with cmake as the build system, and I need to figure out some things. I am using a Mac as build machine. I have changed the CMAKE_CXX_COMPILER/LINKER

Re: [CMake] masm msvc

2011-08-23 Thread Alexander Neundorf
Hi, On Monday 15 August 2011, Micha Renner wrote: This script... # Copy paste from CMake Wiki # Works only if CMake runs in the Visual Studio DOS Window SET(MASMFound FALSE) # test whether it is a x86 machine and masm is available IF(${CMAKE_SYSTEM_PROCESSOR} MATCHES x86)

Re: [CMake] cmLocalGenerator::GenerateInstallRules() needlessly slow?/missing optimization?

2011-09-13 Thread Alexander Neundorf
On Wednesday, September 07, 2011 11:12:55 AM Andreas Mohr wrote: Hi, just saw that the main cmake_install.cmake contains (at the end): FILE(WRITE [${CMAKE_BINARY_DIR}]/${CMAKE_INSTALL_MANIFEST} ) FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES}) FILE(APPEND

Re: [CMake] question about Eclipse CDT Generators

2011-09-13 Thread Alexander Neundorf
On Tuesday, September 06, 2011 06:53:23 PM cheshirekow wrote: Hi cmake list, I'm using cmake to manage a CUDA project, and I'm generating an eclipse project for development. Since CDT doesn't natively understand the output from the nvidia compiler, I've created a new regex error parser

Re: [CMake] Diff output from CMake?

2011-09-13 Thread Alexander Neundorf
On Tuesday, September 13, 2011 05:07:00 AM Clifford Yapp wrote: I am trying to compare two large lists of file paths (about 14,000 lines each) to identify which entries in each list are missing from the other, and while I can get CMake to do it I must be doing it the wrong way because the

Re: [CMake] Rename unspecified component - how?

2011-09-17 Thread Alexander Neundorf
On Saturday, September 17, 2011 08:54:42 AM Kishore Jonnalagadda wrote: In my project I am using the default component for all binaries and a dev component for headers. But when I create packages, it creates one called Unspecified and another called dev. How do I rename the unspecified

Re: [CMake] Problem with option() when in subdirectory

2011-09-18 Thread Alexander Neundorf
On Sunday, September 18, 2011 02:15:54 PM David Demelier wrote: Hello, I noticed that option() values are not checked when the option() command is under a add_subdirectory() target. Example: -- a's CMakeLists.txt -- project(a C) set(BUILD_DEMOS OFF) add_subdirectory(extern/b)

Re: [CMake] Problem with option() when in subdirectory

2011-09-18 Thread Alexander Neundorf
On Sunday, September 18, 2011 02:42:49 PM Michael Wild wrote: On 09/18/2011 02:32 PM, Alexander Neundorf wrote: On Sunday, September 18, 2011 02:15:54 PM David Demelier wrote: Hello, I noticed that option() values are not checked when the option() command is under a add_subdirectory

Re: [CMake] Cross compiling in Win32 environment doesn't work

2011-09-19 Thread Alexander Neundorf
Hi, can you please adjust your mail client so it doesn't send HTML mails ? On Monday, September 19, 2011 04:57:32 PM Martin Kupke wrote: That's a hint, I changed my toolchain file toolchain_ppc.cmake to the following: INCLUDE(CMakeForceCompiler) set(CMAKE_SYSTEM_NAME Discovery)

Re: [CMake] CodeBlocks generator and source_group

2011-09-20 Thread Alexander Neundorf
On Tuesday, September 20, 2011 12:11:19 PM Tomasz Grobelny wrote: Is there any way to make cmake generate ‘Option virtualFolder=Source Files /’ element for Unit elements in CodeBlocks Project file (cbp)? I would expect it to happen by using 'SOURCE_GROUP(Source Files FILES ${SOURCES})'

  1   2   3   4   5   6   7   8   9   10   >