[cmake-developers] [CMake 0012872]: cmake fails to produce a *unique* object file name and causes name collisions
Mantis Bug Tracker
mantis at public.kitware.com
Wed Jan 11 19:12:58 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12872
======================================================================
Reported By: freddie
Assigned To:
======================================================================
Project: CMake
Issue ID: 12872
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-01-11 19:12 EST
Last Modified: 2012-01-11 19:12 EST
======================================================================
Summary: cmake fails to produce a *unique* object file name
and causes name collisions
Description:
cmake attempts to use the same object file name for
${CMAKE_CURRENT_SOURCE_DIR}/a.cpp
${CMAKE_CURRENT_BINARY_DIR}/a.cpp
despite the statement of uniqueness in the documentation entry for
CMAKE_OBJECT_PATH_MAX. (The second file is generated, e.g., by bison, ragel
etc.)
This causes a warning and an incorrectly generated makefile rule:
Warning: Source file "${CMAKE_CURRENT_BINARY_DIR}/a.cpp" is listed multiple
times for target "xxx".
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-01-11 19:12 freddie New Issue
======================================================================
More information about the cmake-developers
mailing list