View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014281CMakeCMakepublic2013-07-08 19:332013-12-02 08:51
Reporternomorgan 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionno change required 
PlatformWindows 7OSWindows 7OS Version
Product VersionCMake 2.8.11.1 
Target VersionFixed in Version 
Summary0014281: INCLUDE_DIRECTORIES problem with duplicate path and path with spaces
Descriptionthis 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 ReproduceI 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)



TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033514)
nomorgan (reporter)
2013-07-08 19:40

Bug is in CMake v2.8.11.1 and v2.8.11.2

maybe in older version too
(0033518)
Brad King (manager)
2013-07-09 09:40

I cannot reproduce this:

>type ..\CMakeLists.txt
cmake_minimum_required(VERSION 2.8.11)
project(FOO C)
include_directories("c:/Program Files/lib/2" "c:/Program Files/lib/1")
add_executable(foo foo.c)

>cmake --version
cmake version 2.8.11.2

>cmake .. -G "NMake Makefiles"

>type CMakeFiles\foo.dir\flags.make
...
C_FLAGS = ... -I"c:\Program Files\lib\2" -I"c:\Program Files\lib\1"
(0033527)
nomorgan (reporter)
2013-07-11 14:53

Correct.

I made a mistake.

There is no bug

Thx
(0034643)
Robert Maynard (manager)
2013-12-02 08:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-07-08 19:33 nomorgan New Issue
2013-07-08 19:40 nomorgan Note Added: 0033514
2013-07-09 09:40 Brad King Note Added: 0033518
2013-07-11 14:53 nomorgan Note Added: 0033527
2013-07-15 08:21 Brad King Status new => resolved
2013-07-15 08:21 Brad King Resolution open => no change required
2013-12-02 08:51 Robert Maynard Note Added: 0034643
2013-12-02 08:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team