View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014663CMakeCMakepublic2013-12-22 07:542014-06-02 08:37
ReporterAndrius da Costa Ribas 
Assigned ToStephen Kelly 
PriorityhighSeveritycrashReproducibilityalways
StatusclosedResolutionno change required 
PlatformWindowsOSWindowsOS Version8
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014663: Duplicated include_directories
DescriptionCMake do not remove duplicates from include_directories.
Steps To ReproduceHave a list of diretories added to include_directories in the main CMakeLists.txt and the same list added to include_directories in a subdir.
Additional InformationThis crashes building projects like Calligra due to too long command line (33 times the same include paths passed to -I). I've proposed a workaround for them in https://git.reviewboard.kde.org/r/114611/diff/#index_header [^] .
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0034853)
Stephen Kelly (developer)
2013-12-22 09:27

http://sscce.org/ [^]
(0034854)
Andrius da Costa Ribas (reporter)
2013-12-22 09:54

Just pasting a link to sscce.org with no pointing about what is missing sounds very paradoxical to me.

Short: the description is short - include_directories do not remove duplicates and cause a crash due to long command line.

Self-contained: Building Calligra on Windows fails due to this (example given on "Additional Information" - KOMAIN_INCLUDES contains includes already included in parent directory)

Correct: not applicable here according to the definition in sscce.org

Example: Provided
(0034858)
Stephen Kelly (developer)
2013-12-23 11:14

No demonstrated problem to confirm.

CMake de-duplicates include directories already.
(0036064)
Robert Maynard (manager)
2014-06-02 08:37

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

 Issue History
Date Modified Username Field Change
2013-12-22 07:54 Andrius da Costa Ribas New Issue
2013-12-22 09:27 Stephen Kelly Note Added: 0034853
2013-12-22 09:54 Andrius da Costa Ribas Note Added: 0034854
2013-12-23 11:14 Stephen Kelly Note Added: 0034858
2013-12-23 11:14 Stephen Kelly Status new => resolved
2013-12-23 11:14 Stephen Kelly Resolution open => no change required
2013-12-23 11:14 Stephen Kelly Assigned To => Stephen Kelly
2014-06-02 08:37 Robert Maynard Note Added: 0036064
2014-06-02 08:37 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team