Hi,
On Sat, Nov 27, 2010 at 01:11:06AM -0500, cmake-requ...@cmake.org wrote:
> Message: 5
> Date: Fri, 26 Nov 2010 15:55:55 -0600
> From: j s
> Subject: Re: [CMake] Forcing 'out-of-source' build
> To: Eric Noulard
> I'd recommend this:
> touch CMakeCache.tx
I'd recommend this:
touch CMakeCache.txt
touch CMakeFiles
Check said files into your revision control system.
The fact that it can't create a directory alone makes cmake freak out almost
immediately.
Juan
On Fri, Nov 26, 2010 at 3:06 PM, Eric Noulard wrote:
> 2010/11/26 Wylie, Brian :
> > Hi A
2010/11/26 Wylie, Brian :
> Hi All,
>
> I want to force an 'out-of-source' build for a small project that I converted
> to use Cmake.
>
> I did a bit of searching and found variants of the following...
>
> # Make sure the build is out of source
> STRING(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE
Hi All,
I want to force an 'out-of-source' build for a small project that I converted
to use Cmake.
I did a bit of searching and found variants of the following...
# Make sure the build is out of source
STRING(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" insource)
IF(insource)