[CMake] Fwd: Visual Studio command line from CMake

2014-01-08 Thread Rob McDonald
Thanks for the tip, but that hasn't been very helpful to me. Perhaps I'm not doing it right. Here is a bit of CMake code so the conversation can be more concrete. Perhaps someone on list can try it out... You'll need these two files... http://www.fltk.org/software.php?VERSION=1.3.2&FILE=fltk/1

Re: [CMake] Visual Studio command line from CMake

2014-01-08 Thread Rob McDonald
Very sorry for not replying to the list, I certainly meant to. I didn't mean to impose my problem on you -- and I was hoping that by flushing my example out more fully, more people may be able to help out. I will go back and forward that response/question so people don't have to dig it out of thi

Re: [CMake] Visual Studio command line from CMake

2014-01-08 Thread J Decker
cmake --build On Wed, Jan 8, 2014 at 3:53 PM, Rob McDonald wrote: > Short version: > > Does anyone have an elegant way to launch the visual studio command line > from within CMake? > > James Bigler asked essentially this question back in March of 2011. David > responded with a link to a Blog ent

Re: [CMake] Provide 64bit Linux binaries

2014-01-08 Thread Andreas Pakulat
Hi, On Wed, Jan 8, 2014 at 10:07 PM, Magnus Therning wrote: > On Wed, Jan 08, 2014 at 01:56:22PM +0100, Andreas Pakulat wrote: > > Hi, > > > > I know this has been raised in the past, but I don't think the > > arguments for not providing the binaries are strong enough to > > warrant the hassle a

[CMake] Visual Studio command line from CMake

2014-01-08 Thread Rob McDonald
Short version: Does anyone have an elegant way to launch the visual studio command line from within CMake? James Bigler asked essentially this question back in March of 2011. David responded with a link to a Blog entry, but I haven't figured out how to translate that into something that works.

Re: [CMake] Provide 64bit Linux binaries

2014-01-08 Thread Bill Hoffman
On 1/8/2014 4:07 PM, Magnus Therning wrote: What 64-bit Linux distribution, that doesn't package CMake, do you use? Still it is not a bad idea to provide them since 32 bit is now mostly a compatibility thing. It maybe that a distro does not provide the most recent version or a user does not ha

Re: [CMake] Provide 64bit Linux binaries

2014-01-08 Thread Magnus Therning
On Wed, Jan 08, 2014 at 01:56:22PM +0100, Andreas Pakulat wrote: > Hi, > > I know this has been raised in the past, but I don't think the > arguments for not providing the binaries are strong enough to > warrant the hassle a cmake user has to go through to run the 32bit > binaries on a 64bit Linux

Re: [CMake] Backslash instead of slashes in *.vcxproj files

2014-01-08 Thread Brad King
On 1/7/2014 11:12 AM, NoRulez wrote: > is there a simple way to replace the slashes (directory delimiter) > with backslashes for include paths after or during the generation > of *.vcxproj files? This is a bug in the VS 10 generator of CMake. Paths are correctly converted to use backslashes in VS

[CMake] Use ctest with callgrind

2014-01-08 Thread Bogdan Cristea
Hi I am trying to use valgrind with callgrind tool for performance profiling. In my CMakeLists.txt file I have the following lines: include(CTest) set(CTEST_MEMORYCHECK_COMMAND_OPTIONS "--tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes") add_subdirectory(profile) ho

[CMake] Use ctest with callgrind

2014-01-08 Thread Bogdan Cristea
Hi I am trying to use valgrind with callgrind tool for performance profiling. In my CMakeLists.txt file I have the following lines: include(CTest) set(CTEST_MEMORYCHECK_COMMAND_OPTIONS "--tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes") add_subdirectory(profile) ho

[CMake] Provide 64bit Linux binaries

2014-01-08 Thread Andreas Pakulat
Hi, I know this has been raised in the past, but I don't think the arguments for not providing the binaries are strong enough to warrant the hassle a cmake user has to go through to run the 32bit binaries on a 64bit Linux distribution. I think requiring users to figure out how to install 32bit co

Re: [CMake] Generating multiple targets in parallel generates common prerequisites twice

2014-01-08 Thread Martin Apel
Hi Eike, thanks for the pointer. I verified, that it works with the current git version of cmake. So the problem will be fixed with the next CMake release. Martin On 08/01/14 10:00, Rolf Eike Beer wrote: Am 08.01.2014 09:42, schrieb Martin Apel: Hi all, I hope this question hasn't been ask

Re: [CMake] Add -lrt at the end of link.txt

2014-01-08 Thread Cedric Doucet
Thank you very much for your help. Actually, there are two CMakeLists.txt files in the project I work on. Targets are only defined in one of them. This is the reason why I did not find them. It works fine now! Best regards, Cédric Doucet - Mail original - > De: "Rolf Eike Beer" > À: cmak

Re: [CMake] Generating multiple targets in parallel generates common prerequisites twice

2014-01-08 Thread Rolf Eike Beer
Am 08.01.2014 09:42, schrieb Martin Apel: Hi all, I hope this question hasn't been asked before, I haven't found anything useful in the archive. Assume I have the following small CMakeLists.txt file: CMAKE_MINIMUM_REQUIRED (VERSION 2.8) PROJECT(testCMakeDeps) ADD_LIBRARY(foo SHARED foo.cpp) A

Re: [CMake] Add -lrt at the end of link.txt

2014-01-08 Thread Rolf Eike Beer
Am 08.01.2014 08:42, schrieb Jakub Zakrzewski: Hello, I recommend reading some kind of CMake tutorial to get at least the basic concepts. In the mean time: --- CMakeLists.txt --- cmake_minimum_required(VERSION 2.8.6) project(oci_object_test) set(ORCLIB_HOME /home/jzakrzewski/local/ocilib/usr/lo

[CMake] Generating multiple targets in parallel generates common prerequisites twice

2014-01-08 Thread Martin Apel
Hi all, I hope this question hasn't been asked before, I haven't found anything useful in the archive. Assume I have the following small CMakeLists.txt file: CMAKE_MINIMUM_REQUIRED (VERSION 2.8) PROJECT(testCMakeDeps) ADD_LIBRARY(foo SHARED foo.cpp) ADD_LIBRARY(bar SHARED bar.cpp) ADD_EXECU