Re: [CMake] cdt4 generator and adding new source files from inside eclipse

2011-10-27 Thread Alexander Neundorf
On Wednesday 26 October 2011, Dan Kegel wrote: > I'm going over the checklist of whether cmake will meet > the needs of my eclipse users, and their first question > was what was the workflow for adding a new source > file. > > I just tried the experiment of adding a .cpp file, > adding it to CMake

Re: [CMake] ExternalProject dependency question

2011-10-27 Thread Alexander Neundorf
On Wednesday 26 October 2011, Dan Kegel wrote: > The manual says > > "If you need to make your own CMake target depend on an external > project use the CMake ADD_DEPENDENCIES command. The target name will > be the first argument and the external project will be the > second argument." > > But it

Re: [CMake] Integrating cmake into eclipse: running test cases from gui?

2011-10-26 Thread Alexander Neundorf
On Wednesday 26 October 2011, Dan Kegel wrote: > On Wed, Oct 26, 2011 at 6:18 PM, Alexander Neundorf > > wrote: > > It would be nice if you could give cmake from current git master a try. I > > have put some more work into it, and now you should get also a virtual >

Re: [CMake] Integrating cmake into eclipse: running test cases from gui?

2011-10-26 Thread Alexander Neundorf
On Wednesday 26 October 2011, Dan Kegel wrote: > Hey folks, > I'm happily using the cdt4 generator to generate eclipse > projects. The result doesn't seem very eclipse-y to my untrained > eye, but it's close enough to get work done. It would be nice if you could give cmake from current git maste

Re: [CMake] CMake still broken post-2.8.1

2011-10-25 Thread Alexander Neundorf
On Tuesday 25 October 2011, Phil Smith wrote: > No, alas. Code is proprietary and the compiler is licensed too. I think Phil asked here on the list like one year ago or so. So, there are some things to be found in the archive. Was this EBDIC stuff ? Alex -- Powered by www.kitware.com Visit othe

Re: [CMake] CMake still broken post-2.8.1

2011-10-25 Thread Alexander Neundorf
On Tuesday 25 October 2011, David Boesner wrote: > Hi, > > I want to link a .so file with a executable. > how do I do that? Use target_link_libraries(). And maybe find_library() before, depending on where that library comes from. Giving some more information and also using a suitable subject wou

Re: [CMake] How to make a shared library to use relative paths to the executable

2011-10-25 Thread Alexander Neundorf
On Tuesday 25 October 2011, Alexander Neundorf wrote: ... > If you want to create a zip file, you should use "make package" to do that. > During that step also "make install" will be executed. > In that step the install RPATH will be patched into the ELF files. > B

Re: [CMake] How to make a shared library to use relative paths to the executable

2011-10-25 Thread Alexander Neundorf
On Tuesday 25 October 2011, Renato Utsch wrote: > Hello! > > I am learning to use CMake and I found it very easy to use, very and very > good. But I don't understand why it uses full paths instead of relative > paths when linking shared/dynamic libraries. I am currently making a > program that is

Re: [CMake] Changes between v2.8.5 and v2.8.6?

2011-10-25 Thread Alexander Neundorf
On Tuesday 25 October 2011, Markus Rathgeb wrote: > Hello! > > I am using the linux distribution gentoo. > After I tried to reinstall my qtcreator package and recreate my Qt > project by qtcreator I run in an empty project tree. > To make it more understandable: > I removed all qtcreator related f

Re: [CMake] cmake, eclipse, and multiple projects

2011-10-21 Thread Alexander Neundorf
On Friday 21 October 2011, Dan Kegel wrote: > Where I work, a lot of people use Eclipse, a few people use Xcode, > a few people use Visual Studio, and a few people use vi and the > commandline. (I'm in the latter camp, and have only moderate familiarity > with IDEs.) Each camp seems to have a diffe

Re: [CMake] tried to use pkgcpnfig to compile my project

2011-10-20 Thread Alexander Neundorf
On Thursday 20 October 2011, David Boesner wrote: > That worked. > Thank you very, very much > > Regards > > David You're welcome :-) Alex P.S. and please always keep the mailing list on CC -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/open

Re: [CMake] CDT generator - CDT 8.0.1 [Visual Studio compiler support]

2011-10-20 Thread Alexander Neundorf
On Thursday 20 October 2011, Nicholas Yue wrote: > 2011/10/20 Alexander Neundorf > > > On Wednesday 19 October 2011, Nicholas Yue wrote: > > > On 19/10/11 10:20 AM, Alexander Neundorf wrote: > > > > Yes, this is currently only implemented for gcc a

Re: [CMake] CDT - source file references

2011-10-20 Thread Alexander Neundorf
On Thursday 20 October 2011, Nicholas Yue wrote: > Found the answer to my question here: > > http://www.vtk.org/Wiki/Eclipse_CDT4_Generator There should be linked folders to the source directory and to the subproject directories in the "Project Explorer" view. Are they there for you ? The subpr

Re: [CMake] CDT generator - CDT 8.0.1 [Visual Studio compiler support]

2011-10-19 Thread Alexander Neundorf
On Wednesday 19 October 2011, Nicholas Yue wrote: > On 19/10/11 10:20 AM, Alexander Neundorf wrote: > > Yes, this is currently only implemented for gcc and for the Intel > > compiler. > > I am noticing the indexer problem using the generated .cproject and > .project using

Re: [CMake] Specify compiler flags for only one file

2011-10-19 Thread Alexander Neundorf
On Wednesday 19 October 2011, Renan Greinert wrote: > Hello everybody, > > > > I have a simple Project like this: > > > > > > set(PROJ_SOURCES > > main.cpp > > manager.cpp > > exceptionhandler.cpp > > sqlite3.c ) > > > > #and the following flags for visual studio > > set(CMA

Re: [CMake] tried to use pkgcpnfig to compile my project

2011-10-19 Thread Alexander Neundorf
On Wednesday 19 October 2011, David Boesner wrote: > Hi > > I've tried to use pgkconfig to compile my project. > I used this as an example: > http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries > chapter 4.1 > > I get the following Errormessage: > > fatal error: /gtk/gtk.h: Datei oder Verzeichni

Re: [CMake] CDT generator - CDT 8.0.1 [Visual Studio compiler support]

2011-10-18 Thread Alexander Neundorf
On Wednesday 19 October 2011, Nicholas Yue wrote: > On 10 October 2011 03:00, Alexander Neundorf wrote: > > On Friday 07 October 2011, Nicholas Yue wrote: > > > Hi, > > > > > > Using CMake 2.8.4, I see Eclipse CDT4 generator support for NMake > > >

Re: [CMake] Is there a DocBook file anymore

2011-10-18 Thread Alexander Neundorf
On Tuesday 18 October 2011, Michael Jackson wrote: > Hello, I am the maintainer of the CMakeEd Eclipse plugin and I was finally > going to update update the plugin to have the latest information for CMake > 2.8.6. The process that I have used in the past to populate the "command > completion" is to

Re: [CMake] cmake and multiple projects, targets and versions

2011-10-14 Thread Alexander Neundorf
On Friday 14 October 2011, Gints Gailītis wrote: > Hi cmake list! > > I've been playing around with cmake for a couple of weeks now, and am > loving (almost) every minute of it. A thing I really like about cmake > and that I feel will add the greatest value for me, besides the > cross-platform cap

Re: [CMake] XMOS ASM / C Compiler support progress and questions

2011-10-13 Thread Alexander Neundorf
On Thursday 13 October 2011, Bernhard Sputh wrote: > Hi Alexander, > > 2011/10/12 Alexander Neundorf : > > Hi, > > > > On Wednesday 12 October 2011, Bernhard Sputh wrote: > > > > Cool :-) > > Please create an entry in the bug tracker for that, so i

Re: [CMake] XMOS ASM / C Compiler support progress and questions

2011-10-12 Thread Alexander Neundorf
Hi, On Wednesday 12 October 2011, Bernhard Sputh wrote: > Hi List, > > I'm currently working on better integrating the XMOS toolchain [1] > (version 11.2.2) into CMake 2.8.5, among other things (such as TI > C6000 support). Cool :-) Please create an entry in the bug tracker for that, so it does

Re: [CMake] Source file specific properties

2011-10-11 Thread Alexander Neundorf
On Monday 10 October 2011, Robert Dailey wrote: > I'm using set_source_files_properties() to add COMPILE_DEFINITIONS to a > single source file. Are these definitions appended to those added via > target-specific defines, or do they completely replace the existing ones? I > need them to append, whic

Re: [CMake] Contribute two new find package implementation.

2011-10-09 Thread Alexander Neundorf
On Friday 07 October 2011, Mathias Fröhlich wrote: > Hi, > > I have done and would like to contribute two new find package > implementations. These are both IEEE standardized successors rti1516 and > rti1516e of the RTI libraries where cmake already has the predecessor > library find package impl

Re: [CMake] CDT generator - CDT 8.0.1 [Visual Studio compiler support]

2011-10-09 Thread Alexander Neundorf
On Friday 07 October 2011, Nicholas Yue wrote: > Hi, > > Using CMake 2.8.4, I see Eclipse CDT4 generator support for NMake > > With the recent release of CDT 8.X, there is Visual Studio compiler > as a new/separate toolchain. > > Are there plans to support that as a generator? Not sure an

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-10-05 Thread Alexander Neundorf
On Wednesday 05 October 2011, Peter Kümmel wrote: > And here some numbers to compare it with Qt's qmake. > I've used this project: http://kst-plot.kde.org/ > which supports qmake and cmake. > > Running make/ninja on a fresh compiled project > with warm caches (in seconds): > > qmake

Re: [CMake] Wiki: version compatibility matrix

2011-10-05 Thread Alexander Neundorf
On Wednesday 05 October 2011, David Cole wrote: > On Wed, Oct 5, 2011 at 10:51 AM, David Cole wrote: > > On Tue, Jul 12, 2011 at 4:58 PM, Alexander Neundorf > > > > wrote: > >> Hi, > >> > >> On Saturday 04 December 2010, Johannes Zarl wrote: &g

Re: [CMake] CMake 2.8.6 available for download

2011-10-05 Thread Alexander Neundorf
On Wednesday 05 October 2011, Clinton Stimpson wrote: ... > Oh, do you still want this in the bug tracker? It was a simple fix. > http://cmake.org/gitweb?p=cmake.git;a=commit;h=240d39 Eh, no, then. Thanks Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://ww

Re: [CMake] CMake 2.8.6 available for download

2011-10-05 Thread Alexander Neundorf
On Wednesday 05 October 2011, Clinton Stimpson wrote: > On Wednesday, October 05, 2011 08:29:00 am Marcus D. Hanwell wrote: > > On Wed, Oct 5, 2011 at 6:53 AM, Peter Kuemmel wrote: > > > When I install the .sh version over an existing 2.8.4 release > > > and use "CodeBlocks - Unix Makefiles" QtCre

Re: [CMake] Sharing objects between executables

2011-10-04 Thread Alexander Neundorf
On Tuesday 04 October 2011, pellegrini wrote: > Hi all, > > I would need your advise about the strategy to adopt when two > executables share common object files. > > Here is the context. I have a project that consists in a program (e.g. > console_prog) that was historically a console program > o

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-09-30 Thread Alexander Neundorf
On Friday 30 September 2011, Peter Kuemmel wrote: > > Tested cmake/ninja with Blender's cmake files, works well, and fast! > > Single file rebuild is 0.97 sec, same on makefiles was 3.7sec. > > I also have some numbers: > > > Building LyX (lyx.org, 676 files): > > Ly

Re: [CMake] Skipping dependency checking... aka an all/fast target

2011-09-21 Thread Alexander Neundorf
On Wednesday, September 21, 2011 03:39:03 PM Malfettone, Kris wrote: > Hi all, I never got a response about this and figured I would try replying > to the question to hopefully catch someone's attention. Any response on > this question would be much appreciated. We talked about this already one o

Re: [CMake] Indexer confused by Preprocessor Symbols in Eclipse CDT

2011-09-21 Thread Alexander Neundorf
On Wednesday, September 21, 2011 05:17:30 PM André wrote: > hello, > I've got a problem with a cmake generated eclipse project. In the 'C/C++ > Include Paths and Symbols' list cmake generates this preprocessor smybol: > > int=__WCHAR_TYPE__ > > which confuses the indexer. I get 'Type 'int' could

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 ‘’ element for Unit elements in CodeBlocks Project file (cbp)? I > would expect it to happen by using 'SOURCE_GROUP("Source Files" FILES > ${SOURCES})' construct but it does not work for me (

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

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(e

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 unspecifi

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 r

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 par

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 > "[${CMAKE_BINARY_

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

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 R

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 r

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 wrote: > > On 8/17/2011 10:17 AM, Andreas Mohr wrote: > >> [cue maximally inflammatory subject ;)] > >> > >> Hi, > >> > >> I keep encountering template file processing where > >> @VAR@ replacements e

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 n

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-08-16 Thread Alexander Neundorf
On Monday 08 August 2011, Florian Reinhard wrote: > 2011/8/1 Alexander Neundorf : > >> I attached the gdb output i got. I've been running gdb from a minGW32 > >> installation on a normal windows cmd.exe on windows7 x64. > >> Unfortunately there's no ba

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

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, > >> modif

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( ... CONCAT [SEP ]) > > equivalent to > > SET( "${}...") I'm not sure this is actually necessary. Personally I'm fine wit

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

Re: [CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-03 Thread Alexander Neundorf
On Wednesday 03 August 2011, Brad King wrote: > On 8/3/2011 11:41 AM, Alexander Neundorf wrote: > > On Tuesday 02 August 2011, Hendrik Sattler wrote: > >> If you use cmake 2.8.5, you can use GNUInstalldirs.cmake and let the > >> user specify the multiarch directory to i

Re: [CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-03 Thread Alexander Neundorf
On Tuesday 02 August 2011, Hendrik Sattler wrote: > Am Dienstag, 2. August 2011, 21:55:16 schrieb Alexander Neundorf: > > Hi, > > > > until recently, I recommended to install Config.cmake files more or less > > like this: > > > > install(FILES FooConfig.c

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 inconvenienc

[CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-02 Thread Alexander Neundorf
Hi, until recently, I recommended to install Config.cmake files more or less like this: install(FILES FooConfig.cmake DESTINATION lib${LIB_SUFFIX}/cmake/Foo ) with LIB_SUFFIX being "64" on systems where this is required. How do I do this on a Debian multiarch system ? How do I know in which di

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 : > > On Friday 29 July 2011, Florian Reinhard wrote: > >> 2011/7/22 Alexander Neundorf : > >> > Can you build cmake from this branch I just created ? > >> > http://cmake.org/

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

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 : > > 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_ > &g

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

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

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 : > > 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 f

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-21 Thread Alexander Neundorf
get it working. > 2011/7/20 Alexander Neundorf : > > 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: > >

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-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 " -fr= > -eo=.asm.obj ") > > PROJECT (myp

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 > ~/cmake-2.8.4/

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 > > > 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 > > does transitive

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

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 prob

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

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

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

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

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

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

2011-06-22 Thread Alexander Neundorf
as dependencies in your 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

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

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

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 y

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 : > > 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 itsel

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 wan

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

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 su

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 (m

Re: [CMake] Sun compiler

2011-06-13 Thread Alexander Neundorf
On Friday 10 June 2011, Benjamin Peterson wrote: > Hi, > I'm trying to set some special flags for Sun's compiler. Does cmake set a > flag for it like it does for MSVC or COMPILER_IS_GNUCC? You can always test ${CMAKE_CXX_COMPILER_ID} (or CMAKE_C_COMPILER_ID). It has the value which is printed dur

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 th

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

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

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 > https://r

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

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 m

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 dyn

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

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.

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