The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13829
======================================================================
Reported By: Alessio M.
Assigned To:
======================================================================
Project: CMake
Issue ID: 13829
Category: CMake
Reproducibility: always
Severity: block
Priority: urgent
Status: new
======================================================================
Date Submitted: 2013-01-03 13:26 EST
Last Modified: 2013-01-03 13:26 EST
======================================================================
Summary: Internal error in add_custom_target crashes with
$<TARGET_PROPERTY:tgt,prop>
Description:
The following CMakeLists.txt crashes CMake during generation
cmake_minimum_required(VERSION 2.8.10)
project(TestBug)
add_executable(test test.cpp)
add_custom_target(test2
"some_bogus_custom_tool"
$<TARGET_PROPERTY:test,INCLUDE_DIRECTORIES>
$<TARGET_PROPERTY:test,COMPILE_DEFINITIONS>
WORKING_DIRECTORY
"${CMAKE_CURRENT_SOURCE_DIR}")
====== CMake output follows =======
Configuring done
CMake Internal Error (please report a bug):
Missing cmGeneratorTarget instance!
CMake Internal Error (please report a bug):
Missing cmGeneratorTarget instance!
Generating done
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-01-03 13:26 Alessio M. New Issue
2013-01-03 13:26 Alessio M. File Added: cmake-generator-expression-bug.7z
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers