The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=16093 
====================================================================== 
Reported By:                Andreas Schuh
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16093
Category:                   CMake
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-05-04 10:21 EDT
Last Modified:              2016-05-04 10:21 EDT
====================================================================== 
Summary:                    Order of --build and --target "cmake" command
options matters
Description: 
The following results in an error as if I'd specified a subdirectory underneath
the current build directory. Changing the order of --build and --target options
works as expected, though. Just "--build ." followed directly by "--target"
gives this error.

cmake --config Release --build . --target apidoc
CMake Error: The source directory "/Users/as12312/Software/BASIS/Xcode/apidoc"
does not exist.
Specify --help for usage, or press the help button on the CMake GUI.


cmake --config Release --target apidoc --build .
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-05-04 10:21 Andreas Schuh  New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to