Re: [CMake] Source package without CMake dependency?

2013-02-03 Thread Martin Sustrik
Hi Eric, Ugh! You are right. Sorry for bogus question and thanks for extensive answer. Martin On 04/02/13 07:33, Eric Noulard wrote: 2013/2/4 Martin Sustrik: Hi all, Is it possible to create a source package that wouldn't require to install cmake on the destination machine? Short answer

Re: [CMake] Source package without CMake dependency?

2013-02-03 Thread Eric Noulard
2013/2/4 Martin Sustrik : > Hi all, > > Is it possible to create a source package that wouldn't require to install > cmake on the destination machine? Short answer NO. Long answer : keep reading. > With autotools, all the build scripts are generated when building the > package and included into t

[CMake] Source package without CMake dependency?

2013-02-03 Thread Martin Sustrik
Hi all, Is it possible to create a source package that wouldn't require to install cmake on the destination machine? With autotools, all the build scripts are generated when building the package and included into the package. So, on the destination box you can do the following: tar -xz

Re: [CMake] Question about generate a source file during the build

2013-02-03 Thread Sébastien Barthélémy
On Sun, Feb 3, 2013 at 2:12 PM, Olaf Peter wrote: > Hi Sébastien, > > >> > ---8<--- >> > project(coolcoding) >> > >> > # generate coolcoding's static lexer >> > set(COOLCODING_BAR_HPP >> ${PROJECT_BINARY_DIR}/include/foo/io/coolcoding/coolcoding_bar.hpp) >> > >> > add_executable(generate_co

Re: [CMake] Question about generate a source file during the build

2013-02-03 Thread Olaf Peter
Hi Sébastien, > > ---8<--- > > project(coolcoding) > > > > # generate coolcoding's static lexer > > set(COOLCODING_BAR_HPP > ${PROJECT_BINARY_DIR}/include/foo/io/coolcoding/coolcoding_bar.hpp) > > > > add_executable(generate_coolcoding_bar generate_coolcoding_bar.cpp) > > > > add_custom_

Re: [CMake] Visual studio november CTP compiler?

2013-02-03 Thread terje loe
> Date: Sun, 3 Feb 2013 07:52:28 -0500 > From: bill.hoff...@kitware.com > To: cmake@cmake.org > Subject: Re: [CMake] Visual studio november CTP compiler? > > On 2/2/2013 8:46 PM, terje loe wrote: > > Anyone know how I can setup cmake to change the visual studio compiler > > to the CTP november C+

Re: [CMake] Question about generate a source file during the build

2013-02-03 Thread Sébastien Barthélémy
Hi Olaf, Le 3 févr. 2013 14:03, "Olaf Peter" a écrit : > ---8<--- > project(coolcoding) > > # generate coolcoding's static lexer > set(COOLCODING_BAR_HPP ${PROJECT_BINARY_DIR}/include/foo/io/coolcoding/coolcoding_bar.hpp) > > add_executable(generate_coolcoding_bar generate_coolcoding_bar.cpp) > >

[CMake] Question about generate a source file during the build

2013-02-03 Thread Olaf Peter
Hi, I've read the FAQ hopefully carefully. But I did run into a problem with a out-of-source-build: ---8<--- project(coolcoding) # generate coolcoding's static lexer set(COOLCODING_BAR_HPP ${PROJECT_BINARY_DIR}/include/foo/io/coolcoding/coolcoding_bar.hpp) add_executable(generate_coolcodin

Re: [CMake] Visual studio november CTP compiler?

2013-02-03 Thread Bill Hoffman
On 2/2/2013 8:46 PM, terje loe wrote: Anyone know how I can setup cmake to change the visual studio compiler to the CTP november C++ compiler? http://blogs.msdn.com/b/vcblog/archive/2012/11/02/visual-c-c-11-and-the-future-of-c.aspx Looks interesting. "After downloading and installing the progr