[CMake] FYI: Where do users of CMake with Eclipse work?

2019-07-06 Thread Martin Weber
Hi all, found some interesting download stats for Eclipse plugins that integrate CMake. Just click the globe icon to the right to see downloads by country. Martin -- There

Re: [CMake] Ubuntu CMake Repository Now Available

2019-04-14 Thread Martin Weber
Am Freitag, 5. April 2019, 22:15:37 CEST schrieb Sergei Nikulov: > It would be great to see officialy supported rpm repository for > CentOS/Fedora as well! The open build service [1] supports packaging for many distros, including Debian. The project for cmake is here [2]. You could ask the

Re: [CMake] Eclipse generator question

2019-04-05 Thread Martin Weber
Am Freitag, 5. April 2019, 00:07:08 CEST schrieb Benjamin Shadwick: > Ah, it seems my CMake is too old to produce compile_commands.json. Maybe > this is part of why other IDEs are working better at home on Ubuntu MATE > LTS. > > Unfortunately Red Hat ships CMake 2.8.12.2 even in recent RHEL

Re: [CMake] Eclipse generator question

2019-04-03 Thread Martin Weber
Am Mittwoch, 3. April 2019, 22:55:45 CEST schrieb Benjamin Shadwick: > FYI, > > I opened a bug on CMake's tracker about updating the CMake generator since > its outputs are kind of garbage for modern CDT releases: > https://gitlab.kitware.com/cmake/cmake/issues/19107 > > Unfortunately the only

Re: [CMake] Eclipse generator question

2019-04-03 Thread Martin Weber
Am Mittwoch, 3. April 2019, 22:26:59 CEST schrieb Benjamin Shadwick: > I tried cmake4eclipse, and it's a mixed bag. It requires a lot of tweaking Really? Just set _CMake Builder (portable)_ as the current builder and build. > of the Eclipse project after you create it, and I'm pretty sure it

Re: [CMake] Eclipse generator question

2019-04-03 Thread Martin Weber
Am Mittwoch, 3. April 2019, 18:44:04 CEST schrieb Benjamin Shadwick: > Update - I think I found a tolerable workaround: > > If I invoke cmake with -DCMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES=OFF and > then inject a link to my include directory into the .project file, things > work a lot better:

Re: [CMake] Eclipse generator question

2019-04-03 Thread Martin Weber
Am Mittwoch, 3. April 2019, 18:44:04 CEST schrieb Benjamin Shadwick: > Update - I think I found a tolerable workaround: > > If I invoke cmake with -DCMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES=OFF and > then inject a link to my include directory into the .project file, things > work a lot better: > -

Re: [CMake] Additional traffic on cmake.org concerning cmake documentation

2019-01-16 Thread Martin Weber
Am Mittwoch, 16. Januar 2019, 18:24:09 CET schrieb Robert Maynard: > It would not be a problem as it relates to server load for you to > redirect to `https://cmake.org/cmake/help/latest/`, but as frodak17 a There would be no server load of users of the plugin. I plan to change the HTML-links in

Re: [CMake] Additional traffic on cmake.org concerning cmake documentation

2019-01-16 Thread Martin Weber
Am Dienstag, 15. Januar 2019, 23:20:38 CET schrieb frodak17: > On Tue, Jan 15, 2019 at 3:54 PM Martin Weber > > wrote: > > Hi, > > > > So my question is: Are there any objections regarding the additional IP > > traffic on cmake.org imposed if CmakeEd-users

[CMake] Additional traffic on cmake.org concerning cmake documentation

2019-01-15 Thread Martin Weber
Hi, this is a question to the people at cmake.org. The CmakeEd plugin for eclipse [1],[2] currently comes with a copy of the cmake documentation. Unfortunately, it refers to a fairly outdated version of cmake (2.8.6) and the scripts to convert the docs to Eclipse help format do not longer

[CMake] Weird @<< in compile_commands.json

2018-11-13 Thread Martin Weber
Hi, I see cmake producing a compile_commands.json file that contains a weird expression like '@<< /TP -DECAL_LAYER_FASTRTPS <<'. This expression causes an issue in my cmake4eclipse project [1]. The expression looks like a commandfile-specifiation, but the file `<<` does not exist. So my

Re: [CMake] Need info on how cmake messages output is formatted

2018-09-09 Thread Martin Weber
Am Freitag, 7. September 2018, 20:48:27 CEST schrieb Mateusz Loskot: > On Fri, 7 Sep 2018 at 20:08, Martin Weber wrote: > > Any pointers to cmake sources are also welcome. Thank you! > > AFAIC, the message is printed via > cmMessenger::DisplayMessage > called by > c

Re: [CMake] Eclipse CDT4 - Unix Makefiles / Ninja Generator

2018-07-09 Thread Martin Weber
Am Sonntag, 8. Juli 2018, 23:17:27 CEST schrieb Alexander Neundorf: > On 2018 M07 7, Sat 19:09:18 CEST Martin Weber wrote: > > Hi all, > > > > FYI, according to this [1], those generators do no longer work with the > > new > > core build introduced in CDT 9.5.

[CMake] Eclipse CDT4 - Unix Makefiles / Ninja Generator

2018-07-07 Thread Martin Weber
Hi all, FYI, according to this [1], those generators do no longer work with the new core build introduced in CDT 9.5. Martin [1] http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg33066.html -- Cd wrttn wtht vwls s mch trsr. -- Powered by www.kitware.com Please keep messages on-topic and

[CMake] CMAKE_EXPORT_COMPILE_COMMANDS, compile_commands.json content

2018-05-18 Thread Martin Weber
Hi all, in the generated compile_commands.json, what are the quoting rules in the command fields? Apart from the fact that a quotation mark in json inside a value has to be escaped as *\"*, do the arguments in the command-field follow the shell- escape rules or do they reflect the arguments

Re: [CMake] Question about eclipse

2018-02-10 Thread Martin Weber
On Donnerstag, 8. Februar 2018 02:42:13 CET jaeho jo wrote: > Hi! I have a Question aboue eclipse. > > I have a one C project in eclipse. > > I have built this project only using eclipse so far. > > I want to build thid C project using cmake > > Should I write the CMakeLists.txt file

Re: [CMake] Platform dSPACE

2017-06-23 Thread Martin Weber
Am Freitag, 23. Juni 2017, 19:47:32 CEST schrieb Robin Verschueren: > Dear CMake, > > We are trying to build our application for the dSPACE embedded system > (www.dspace.com), more specifically their MicroAutobox-II. This makes > use of a specific compiler called mccppc (Microtec C/C++ PowerPC

Re: [CMake] Is there a way to produce the documentation of cmake in xml format?

2017-06-08 Thread Martin Weber
Am Mittwoch, 7. Juni 2017, 22:35:51 CEST schrieb Nils Gladitz: > On 07.06.2017 21:23, Martin Weber wrote: > > Hi all, > > > > is there a way to extract the documentation from cmake-sources and convert > > that to XML? ... > CMake uses the Sphinx documentation syste

[CMake] Is there a way to produce the documentation of cmake in xml format?

2017-06-07 Thread Martin Weber
Hi all, is there a way to extract the documentation from cmake-sources and convert that to XML? I am trying to work on CmakeEd [1]. This Eclipse plugin has support for editing cmakelists files (syntax highlighting, code completion), but only for cmake 2.8 which I want to update. If I had docs

[CMake] default generator officially supported?

2016-09-16 Thread Martin Weber
Hi, in [1] some pointed out that cmake seems to have a notion of _default genrator_, that is: If you invoke cmake without the -D option, it chose a generator depending on the platform and create the build scripts. Is this nice feature officially supported by cmake? I could not find it

Re: [CMake] CMAKE - troubles finding executables/paths - Windows 7 / MinGW

2016-06-14 Thread Martin Weber
Yes, I know this [1] thread is old, but it hurts me, too. This is what I found: The mingw32 installer (mingw32-get, IIRC) no longer places a key in the windows registry. So if anyone installed mingw32 in a directory other than c:/MinGW/, cmake will not find it. After adding the bin directory of

Re: [CMake] How to check if Eclipse CDT4 generated project is set up correctly?

2016-04-22 Thread Martin Weber
Am Freitag, 22. April 2016, 13:28:33 schrieb Nils Rathmann: > Hi Alex, > thanks for the details. I managed to add the header files as intended > and do have the targets you described, but the virtual directories > "CMake Rules", "Object Files" and "Ressources" of each Target > subdirectory are

Re: [CMake] Unable to download older releases: Directory index no longer supported

2015-11-04 Thread Martin Weber
Am Mittwoch, 4. November 2015, 09:55:10 schrieb Brad King: > On 11/03/2015 03:54 PM, Martin Weber wrote: > > The download site [1] seems to have been revamped. Since then, it does no > > longer allow to download older releases. > > The directory index was disabled but ol

[CMake] Unable to download older releases: Directory index no longer supported

2015-11-03 Thread Martin Weber
Hi cmake developers, I hope some of the cmake developers will chime in here... The download site [1] seems to have been revamped. Since then, it does no longer allow to download older releases. If the devs decided to disable directory listings due to excessive download traffic caused by

Re: [CMake] Is the situation with CMake + Eclipse ever going to get any better?

2015-09-28 Thread Martin Weber
Am Sonntag, 27. September 2015, 13:29:15 schrieb Talin: > I've been using CMake and Eclipse for a bunch of different projects over > the last several years. Although many aspects of both CMake and Eclipse > have improved over the years, using them together still has a lot of > problems. > > From

Re: [CMake] dates on web site

2015-08-24 Thread Martin Weber
Am Sonntag, 23. August 2015, 17:04:47 schrieb Dave Yost: ... I suggest you switch to ISO 8601 https://en.wikipedia.org/wiki/ISO_8601 for dates, which will cause no difficulties for non-American users. +1 I always get confused with middle-endian dates. -- Cd wrttn wtht vwls s mch trsr. --

Re: [CMake] Automatic management of Eclipse projects

2015-06-25 Thread Martin Weber
Am Montag, 22. Juni 2015, 18:02:01 schrieb Cedric Doucet: Hello, I am testing the possibility of generating Eclipse projects with CMake. If you want to generate the from teh Eclipse workbench and are familiar with CDT, try this https://marketplace.eclipse.org/content/cmake4eclipse -- Cd

Re: [CMake] Eclipse .cproject Preprocessor Macro Definitions

2015-06-05 Thread Martin Weber
Am Donnerstag, 4. Juni 2015, 15:53:11 schrieb Ette, Anthony: Ok I've got this installed but can't get it to work. I've selected the Please discuss this on the appropriate mailing list. https://groups.google.com/forum/#!forum/cmake4eclipse-users Martin -- Cd wrttn wtht vwls s mch trsr.

Re: [CMake] Eclipse .cproject Preprocessor Macro Definitions

2015-05-30 Thread Martin Weber
Am Donnerstag, 28. Mai 2015, 19:17:08 schrieb Ette, Anthony: To Whom It May Concern: I'm using Cmake 3.2.2, specifically the Eclipse CDT4 - NMake Makefiles generator. I am able to successfully run cmake and build from within Eclipse but there seem to be things missing from the .cproject

Re: [CMake] (no subject)

2015-05-12 Thread Martin Weber
Am Dienstag, 12. Mai 2015, 20:32:48 schrieb Uma Devi: dear cmake user i am not able to updaate the cmake in one of my linux system. how can i update the cmake in centos Maybe because CentOS is still at cmake v 2.6? Martin -- Cd wrttn wtht vwls s mch trsr. -- Powered by www.kitware.com

[CMake] C/C++ projects: Can cmake generate a '-include file' option for the compiler?

2015-03-20 Thread Martin Weber
Hi, is there a way in the cmakelists syntax to generate a build script (make/ninja/...) that will invoke the C/C++ compiler with an '-include file' or '-include macros' option? From the GNU cpp man page: -include file Process file as if #include file appeared as the first line of

Re: [CMake] Is there a cmake variable/property for temp dir?

2015-03-13 Thread Martin Weber
Am Freitag, 13. März 2015, 22:30:14 schrieb Nils Gladitz: On 13.03.2015 22:23, Martin Weber wrote: ... There isn't as far as I know ... why do you need it though? To be honest: I don´t know. Just asking on behalf of https://github.com/toeb/cmakepp/issues/97 Why not go with somewhere

[CMake] Is there a cmake variable/property for temp dir?

2015-03-13 Thread Martin Weber
... coding the if(win32) set(cmakepp_tmp_dir $ENV{TMP}) else it)linux) set(cmakepp_tmp_dir $ENV{TMPDIR}) becomes tedious. if you have to deal with cross platform builds. TIA, Martin -- Quidquid latine dictum sit, altum viditur. -- Powered by www.kitware.com Please keep messages

[CMake] [ANNOUNCE] Please test staged cmake for eclipse CDT 1.3.0

2014-12-02 Thread Martin Weber
Hi all, I about to release a new version of the plugin for Eclipse CDT to integrate CMake. It should make setting up CDT to use cmake much easier. A short description can be found at the project home pagehttps://code.google.com/p/cmake4eclipsecdt/[1] The update site URL of the staged

Re: [CMake] Resource filters in generated eclipse projects

2014-04-19 Thread Martin Weber
Am Freitag, 11. April 2014, 10:30:18 schrieb Josh Bialkowski: Hello! Has anyone figured out a good way to preserve resource filters across a cmake-rerun when using an eclipse generated project? I guess the makefile tries to regenerate the eclipse project filess, too, thus deleteing the

Re: [CMake] Potential bug to set a working directory for test

2013-04-04 Thread Martin Weber
Am 27.03.2013 17:57, schrieb Klaim - Joël Lamotte: Hi, I'm using CMake 2.10.2 the VS2012(VC11) generator. I summed-up my problem in the last paragraph. I'm trying to do this: add_test( NAME ${TEST_PROJECT_NAME} WORKING_DIRECTORY ${TEST_WORKING_DIR} COMMAND ${TEST_PROJECT_NAME} )

[CMake] How to install a single object file?

2012-06-04 Thread Martin Weber
Greetings, I want to compile a single object file from C source and want to finally install it. I know how to compile the source by adding it to a dummy ADD_EXECUTABLE. But how do I get the object file's name for use in an INSTALL? TIA, Martin -- E-Mails sollten Text sein, Text und nur

Re: [CMake] How to determine origin of variable

2011-08-26 Thread Martin Weber
Am 25.08.2011 17:54, schrieb David Cole: [...] See this recent bug report for some advice in the notes: http://public.kitware.com/Bug/view.php?id=12340 And this old email on the list that contains basically the same advice: http://www.cmake.org/pipermail/cmake/2007-August/015814.html You can

[CMake] How to determine origin of variable

2011-08-25 Thread Martin Weber
Hi all, is there a way in CMake to detect, whether a variable has been set on the command-line (with the -D option) and not in a CMakelists.txt? For example, GNU-make has the origin function do do something similar. Thanks, Martin -- ☂ E-Mails sollten Text sein, Text und nur Text. Wenn

Re: [CMake] How to determine origin of variable

2011-08-25 Thread Martin Weber
Am 25.08.2011 17:39, schrieb David Cole: On Thu, Aug 25, 2011 at 7:34 AM, Martin Weberm.we...@razorcat.com wrote: Hi all, is there a way in CMake to detect, whether a variable has been set on the command-line (with the -D option) and not in a CMakelists.txt? For example, GNU-make has the

[CMake] WORKING_DIRECTORY from add_custom_target() not setting current directory on windows

2011-08-24 Thread Martin Weber
Hi all, the WORKING_DIRECTORY from add_custom_target() does change the current directory properly on windows, if the current directory and the directory specified in WORKING_DIRECTORY reside on different drives. I experienced that with the following command: add_custom_target(doc echo ***