[cmake-developers] [CMake 0014228]: Disabling Argument Parsing in CMake -P Scripts

Mantis Bug Tracker mantis at public.kitware.com
Tue Jun 18 03:09:18 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14228 
====================================================================== 
Reported By:                Gregoire
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14228
Category:                   CMake
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-06-18 03:09 EDT
Last Modified:              2013-06-18 03:09 EDT
====================================================================== 
Summary:                    Disabling Argument Parsing in CMake -P Scripts
Description: 
It would be convenient to add "--" to avoid further argument parsing.

I have a script that can display its usage. I'd like to be able to call:

cmake -P myScript.cmake -- --help

But currently this displays cmake's own help.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-06-18 03:09 Gregoire       New Issue                                    
======================================================================




More information about the cmake-developers mailing list