Re: [CMake] cmake out of source build writes build files at source dirs?

2010-08-19 Thread Claus Klein

Ok, done

http://cmake.org/Bug/view.php?id=11153

//regards
Claus

On 16.08.2010, at 09:28, Bo Thorsen wrote:


Hi Claus,

If you didn't already, please post this to http://cmake.org/Bug  
instead. The CMake people usually don't take bug reports from this  
list.


Bo.

Den 28-07-2010 20:34, Claus Klein skrev:

Today, I discovered than in the special case of a substituted
PROJECT_SOURCE_DIR,
all build files for subdir packages are created in PROJECT_SOURCE_DIR
and not at the PROJECT_BINARY_DIR.

I use windows cmd shell
subst w: z:/some/deep/path/to/source/dir

Than I create a new build dir:

cd /d w:/
mkdir build
cd build
cmake ..


after that, all subdirs of the source dir are created as
w:/build
w:/build
...
filled with the cmake build files.

I tested cmake 2.8.0, 2.8.1 and 2.8.2 version. all have the same  
behaviour!

The created project builds fine too.

It seems that the PROJECT_BINARY_DIR and the subdir paths are
concatenated without a path separator.

Claus


___
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:
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake




Bo Thorsen.
Monty Program AB.

--

MariaDB: MySQL replacement
Community developed. Feature enhanced. Backward compatible.
___
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: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


___
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: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] cmake out of source build writes build files at source dirs?

2010-08-19 Thread Claus Klein

Hi Alex,

No, I dit not write a bug report yet.

The 10994 seems an other problem, I have the CMakeLists.txt at the  
root dir, together with my build subdir.
So my binary build tree is located at inside the source tree at  
project root.

And this is the root of the substituded drive.

Claus

On 17.08.2010, at 22:42, Alexander Neundorf wrote:


On Monday 16 August 2010, Bo Thorsen wrote:

Hi Claus,

If you didn't already, please post this to http://cmake.org/Bug  
instead.

The CMake people usually don't take bug reports from this list.


Is this related to this one ?
http://public.kitware.com/Bug/view.php?id=10994

Alex
___
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: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


___
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: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] cmake out of source build writes build files at source dirs?

2010-08-17 Thread Alexander Neundorf
On Monday 16 August 2010, Bo Thorsen wrote:
> Hi Claus,
>
> If you didn't already, please post this to http://cmake.org/Bug instead.
> The CMake people usually don't take bug reports from this list.

Is this related to this one ?
http://public.kitware.com/Bug/view.php?id=10994

Alex
___
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: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] cmake out of source build writes build files at source dirs?

2010-08-16 Thread Bo Thorsen

Hi Claus,

If you didn't already, please post this to http://cmake.org/Bug instead. 
The CMake people usually don't take bug reports from this list.


Bo.

Den 28-07-2010 20:34, Claus Klein skrev:

Today, I discovered than in the special case of a substituted
PROJECT_SOURCE_DIR,
all build files for subdir packages are created in PROJECT_SOURCE_DIR
and not at the PROJECT_BINARY_DIR.

I use windows cmd shell
subst w: z:/some/deep/path/to/source/dir

Than I create a new build dir:

cd /d w:/
mkdir build
cd build
cmake ..


after that, all subdirs of the source dir are created as
w:/build
w:/build
...
filled with the cmake build files.

I tested cmake 2.8.0, 2.8.1 and 2.8.2 version. all have the same behaviour!
The created project builds fine too.

It seems that the PROJECT_BINARY_DIR and the subdir paths are
concatenated without a path separator.

Claus


___
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:
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake




Bo Thorsen.
Monty Program AB.

--

MariaDB: MySQL replacement
Community developed. Feature enhanced. Backward compatible.
___
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: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] cmake out of source build writes build files at source dirs?

2010-07-28 Thread Claus Klein
Today, I discovered than in the special case of a substituted  
PROJECT_SOURCE_DIR,
all build files for subdir packages are created in PROJECT_SOURCE_DIR  
and not at the PROJECT_BINARY_DIR.


I use windows cmd shell
 subst w: z:/some/deep/path/to/source/dir

Than I create a new build dir:

cd /d w:/
mkdir build
cd build
cmake ..


after that, all subdirs of the source dir are created as
w:/build
w:/build
...
filled with the cmake build files.

I tested cmake 2.8.0, 2.8.1 and 2.8.2 version. all have the same  
behaviour!

The created project builds fine too.

It seems that the PROJECT_BINARY_DIR and the subdir paths are  
concatenated without a path separator.


Claus


___
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: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake