[cmake-developers] [CMake 0014281]: INCLUDE_DIRECTORIES problem with duplicate path and path with spaces

Mantis Bug Tracker mantis at public.kitware.com
Mon Jul 8 19:33:09 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14281 
====================================================================== 
Reported By:                nomorgan
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14281
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-08 19:33 EDT
Last Modified:              2013-07-08 19:33 EDT
====================================================================== 
Summary:                    INCLUDE_DIRECTORIES problem with duplicate path and
path with spaces
Description: 
this command used with a NMake Generator:

INCLUDE_DIRECTORIES("c:/Program Files/lib/2" "c:/Program Files/lib/1")

result in this nmake command line 

/I"c:/Program Files/lib/2" Files/lib/1"

instead of

/I"c:/Program Files/lib/2" /I"c:/Program Files/lib/1"


Steps to Reproduce: 
I Have tried with
INCLUDE_DIRECTORIES("c:/Program Files/lib/2" "c:/Program Files/lib/1")
INCLUDE_DIRECTORIES(c:/Program\ Files/lib/2 c:/Program\ Files/lib/1)




====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-08 19:33 nomorgan       New Issue                                    
======================================================================




More information about the cmake-developers mailing list