The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=12641 ====================================================================== Reported By: kesten Assigned To: ====================================================================== Project: CMake Issue ID: 12641 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-12-26 13:06 EST Last Modified: 2011-12-26 13:06 EST ====================================================================== Summary: cmake --build <dir> confuses cmake. <dir> is treated as source to path or source to build dir Description:
with PROJECT_SOURCE_DIR = home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk PROJECT_SOURCE_DIR$ cmake -G "Unix Makefiles" --build ../../cmake-build-svn-trunk -- Build files have been written to: /home/kesten/VersionControlProjects/Bazaar/Engines/Bullet/bullet-trunk/trunk If I supply a "." to take the place of path-to-source-dir then it works PROJECT_SOURCE_DIR$ cmake -G "Unix Makefiles" --build ../../cmake-build-svn-trunk . Expected Behaviour: cmake can run with no paths given. cmake --build <dir> should put build files in <dir>. At the least, a warning should be issued that --build was ignored because cmake expected: cmake --build <dir> path-to-source (use "." for dir that cmake is issued from) Steps to Reproduce: run cmake --build <dir> without specifying path-to-source or build-dir after <dir> ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-12-26 13:06 kesten New Issue ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
