View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014325CMakeCMakepublic2013-07-31 05:382014-02-10 10:44
ReporterGregor Jasny 
Assigned ToStephen Kelly 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinux x64OSRHELOS Version6
Product VersionCMake 2.8.11.1 
Target VersionFixed in VersionCMake 2.8.12 
Summary0014325: Cmake parser rejects empty items list in target_include_directories
DescriptionI wonder if cmake should be able to parse the following project file:

  cmake_minimum_required(VERSION 2.8.11)
  project(Foo)

  add_library(mylib STATIC mylib.c)

  #set(a "a")

  target_include_directories(mylib PUBLIC ${a})


The help text for target_include_directories shows the following syntax:

  target_include_directories(<target> [BEFORE
      <INTERFACE|PUBLIC|PRIVATE> [items1...]
     [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])

So I would consider the item list in the [] brackets as optional.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0035068)
Robert Maynard (manager)
2014-02-10 10:44

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

 Issue History
Date Modified Username Field Change
2013-07-31 05:38 Gregor Jasny New Issue
2013-07-31 08:30 Brad King Assigned To => Stephen Kelly
2013-07-31 08:30 Brad King Status new => assigned
2013-08-02 06:37 Stephen Kelly Status assigned => resolved
2013-08-02 06:37 Stephen Kelly Fixed in Version => CMake 2.8.12
2013-08-02 06:37 Stephen Kelly Resolution open => fixed
2014-02-10 10:44 Robert Maynard Note Added: 0035068
2014-02-10 10:44 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team