Re: [CMake] VERBOSE environment variable

2014-02-05 Thread Mateusz Łoskot
that exporting the variable (without setting the value) turns on some verbose messages. And even more disturbing that VERBOSE=0 turns on verbose mode as well as VERBOSE=1. http://www.cmake.org/Bug/view.php?id=3378 Best regards, -- Mateusz Łoskot, http://mateusz.loskot.net -- Powered

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

2014-01-22 Thread Mateusz Łoskot
regards, -- Mateusz Łoskot, http://mateusz.loskot.net -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please

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

2013-12-27 Thread Mateusz Łoskot
for sharing your experience on this topic. I'll experiment with your solution. Thanks, -- Mateusz Łoskot, http://mateusz.loskot.net -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services

Re: [CMake] Compile project as C++ if MSVC

2011-12-23 Thread Mateusz Łoskot
On 23 December 2011 01:28, Pau Garcia i Quiles pgqui...@elpauer.org wrote: Visual C++ 2010 does not support C99 yet and it seems it will be a long time before MSVC supports it. AFAIK, Microsoft does not plan to support C99. Visual C++ will support as much C99 as imported in to most recent

Re: [CMake] Compile project as C++ if MSVC

2011-12-23 Thread Mateusz Łoskot
2011/12/23 Pau Garcia i Quiles pgqui...@elpauer.org: 2011/12/23 Mateusz Łoskot mate...@loskot.net: For now, the usual work-around is to build the project as C++. If a certain feature from C99 is not supported by Visual C++, how it is supposed to be workaround? Many C99 features were

Re: [CMake] Compile project as C++ if MSVC

2011-12-23 Thread Mateusz Łoskot
2011/12/23 Mateusz Łoskot mate...@loskot.net: Thus, _snprintf (not snprintf, in pre-Visual Studio 11) is Microsoft-specific feature I missed to add link related to this: http://msdn.microsoft.com/en-us/library/45aft37a.aspx Best regards, -- Mateusz Loskot, http://mateusz.loskot.net

Re: [CMake] Compile project as C++ if MSVC

2011-12-23 Thread Mateusz Łoskot
2011/12/23 Pau Garcia i Quiles pgqui...@elpauer.org: 2011/12/23 Mateusz Łoskot mate...@loskot.net: For now, the usual work-around is to build the project as C++. If a certain feature from C99 is not supported by Visual C++, how it is supposed to be workaround? Many C99 features were already

Re: [CMake] Compile project as C++ if MSVC

2011-12-23 Thread Mateusz Łoskot
On 23 December 2011 15:07, Bill Hoffman bill.hoff...@kitware.com wrote: Back to the original question, just to be clear. The right way to do this is with the set_source_files_properties command: set_source_files_properties(SRC PROPERTIES LANGUAGE CXX) Thanks Bill. It is always good to learn

Re: [CMake] Documentation request

2011-12-21 Thread Mateusz Łoskot
On 21 December 2011 18:10, Renato Utsch renatout...@gmail.com wrote: Yes, exactly, the way it is now is not obvious, but it should be. I indeed thought that CMake 2.8 documentation was for 2.8.*, but I discovered this week that it wasn't. And I'm sure that this happens with A LOT of people.

Re: [CMake] Problem linking boost program_options with Visual Studio 2008

2011-12-13 Thread Mateusz Łoskot
On 13 December 2011 12:57, Mario Pezzoni pezzoni.ma...@gmail.com wrote: Hi all, i have a project in c++ that needs program_options library from boost, i use FindBoost to set include dirs and linking stuff. Compiling and linking works flawlessly under linux. With the visual studio project

Re: [CMake] Problem linking boost program_options with Visual Studio 2008

2011-12-13 Thread Mateusz Łoskot
2011/12/13 Mario Pezzoni pezzoni.ma...@gmail.com: I read this one before but, it is related with dynamic linking, i need static linking. This solution do not works with static linking. You don't mention in your post how you link. Also, your CMakeLists.txt suggests you link default means

Re: [CMake] How to preserve directory structure within Visual Studio

2011-12-09 Thread Mateusz Łoskot
2011/12/9 David Cole david.c...@kitware.com: 2011/12/8 Mateusz Łoskot mate...@loskot.net: 2011/12/8 David Cole david.c...@kitware.com: 2011/12/8 Mateusz Łoskot mate...@loskot.net: On 8 December 2011 21:45, David Cole david.c...@kitware.com wrote: No, the FOLDER property is only a mechanism

Re: [CMake] How to preserve directory structure within Visual Studio

2011-12-08 Thread Mateusz Łoskot
On 8 December 2011 21:45, David Cole david.c...@kitware.com wrote: No, the FOLDER property is only a mechanism for grouping and organizing *targets*, it is not a source file property... Is it the source_group still the recommended way of grouping? Best regards, -- Mateusz Loskot,

Re: [CMake] How to preserve directory structure within Visual Studio

2011-12-08 Thread Mateusz Łoskot
2011/12/8 David Cole david.c...@kitware.com: 2011/12/8 Mateusz Łoskot mate...@loskot.net: On 8 December 2011 21:45, David Cole david.c...@kitware.com wrote: No, the FOLDER property is only a mechanism for grouping and organizing *targets*, it is not a source file property

Re: [CMake] hear hear

2011-12-06 Thread Mateusz Łoskot
On 6 December 2011 16:27, Daniel Dekkers d.dekk...@cthrough.nl wrote: On Dec 4, 2011, at 11:59 AM, Michael Jackson wrote: I think if the CMake community took a vote we could probably come up with an Exemplar Find*.cmake file that is good for someone trying to develop a new one. Yes please.

[CMake] Friday

2011-12-01 Thread Mateusz Łoskot
Hi Chiara, Let's do climbing on Friday. You still up for that? Ciao, Mateo -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] Friday

2011-12-01 Thread Mateusz Łoskot
Folks, I sincerely apologies. It wasn't supposed to go to *C*Make list but to a friend whose name starts with *C* :) Please, ignore. Regards, Mat 2011/12/1 Mateusz Łoskot mate...@loskot.net: Hi Chiara, Let's do climbing on Friday. You still up for that? Ciao, Mateo -- Mateusz Loskot

Re: [CMake] Visual Studio 2010 generator: Linking static libraries to one dll problem (Use Library Dependency Inputs)

2011-11-17 Thread Mateusz Łoskot
On 17 November 2011 16:30, Matthias Wieding-Drewes m...@wieding-drewes.de wrote: I'am currently in the process of converting a Visual Studio 2010 project to CMake. There are three (sub) projects each of which results in a staticaly linked library. This libraries are then combined into a

Re: [CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY best practice for Windows and Visual Studio

2011-11-14 Thread Mateusz Łoskot
On 13 November 2011 19:51, Niels Dekker - address until 2014 niels_dekker_address_until_2...@xs4all.nl wrote: Mateusz Loskot wrote: On Windows, I use Visual Studio for development, so I have CMake-generated .sln with projects. loaded into the IDE. I build. Then, I'd like to run one of

Re: [CMake] Problem with LINK_DIRECTORIES

2011-11-14 Thread Mateusz Łoskot
On 14 November 2011 17:17, Robert Dailey rcdai...@gmail.com wrote: So basically all third party libraries we use are not installed individually, instead we have a server on our intranet that contains precompiled versions of all libraries in a specific and consistent hierarchy. For this reason,

Re: [CMake] Workflow of a collaborative project in Visual Studio+CMake

2011-11-12 Thread Mateusz Łoskot
On 12 November 2011 12:39, David Cole david.c...@kitware.com wrote: For reference, the bug Mike refers to is this one:  http://public.kitware.com/Bug/view.php?id=11258 I always use the manual technique of shutting down VS, running CMake, and then re-opening VS. It's really not that bad, once

Re: [CMake] Visual Studio 10 property pages for single source file gone with CMake 2.8.5 and 2.8.6

2011-11-11 Thread Mateusz Łoskot
Separate drive may not be an option for some/many. I, for instance, don't use partitions, but I use CMakeas as main builder for my projects. So, I feel the pain of reloading, thus It's easier/quicker for me to close solution, rerun CMake, reopen solution. -- Mateusz Łoskot Sent from my mobile

Re: [CMake] Visual Studio 10 property pages for single source file gone with CMake 2.8.5 and 2.8.6

2011-11-11 Thread Mateusz Łoskot
On 11 November 2011 13:54, Niels Dekker - address until 2014 niels_dekker_address_until_2...@xs4all.nl wrote: Update: I think users can work around this issue (#12570, empty property pages in VS10), by having the directory where to build the binaries on a separate drive (different from the

Re: [CMake] VS2010 Express generator?

2011-11-11 Thread Mateusz Łoskot
On 11 November 2011 16:36, David Doria daviddo...@gmail.com wrote: I am using CMake 2.8.6 and am hoping to generate a project for VS2010 Express. Which generator should I use? I tried Visual Studio 10, but when I configure I get all kinds of errors about the compiler not working. I can try to

[CMake] CMAKE_RUNTIME_OUTPUT_DIRECTORY best practice for Windows and Visual Studio

2011-11-11 Thread Mateusz Łoskot
Hi, I have a CMake-based project which builds several shared libraries and executables. There are various run-time dependencies between those shared libraries and executables. On Windows, I use Visual Studio for development, so I have CMake-generated .sln with projects. loaded into the IDE. I

[CMake] CMake download page seems missing

2011-11-05 Thread Mateusz Łoskot
Hi, It seems CMake download is broken or missing. I want to get latest CMake for Windows, so I do: 1) Load http://cmake.org/ 2) Navigate to Resources - Download which leads to: http://cmake.org/cmake/resources/software.html 3) Click linked cmake-2.8.6-win32-x86.exe 4) I get HTML page with