The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15657 ====================================================================== Reported By: Erik Sjölund Assigned To: ====================================================================== Project: CMake Issue ID: 15657 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-07-21 07:16 EDT Last Modified: 2015-07-21 07:16 EDT ====================================================================== Summary: cmTarget::GetOutputInfo called for mytarget which has type UTILITY (CMake Internal Error) Description: I was experimenting with exporting. I don't know if the content of the CMakeLists.txt makes sense but CMake told me to report a bug: "CMake Internal Error (please report a bug)"
Here is the content of the CMakeLists.txt file: cmake_minimum_required(VERSION 3.3) add_custom_command(OUTPUT empty.txt COMMAND touch empty.txt) add_custom_target(mytarget DEPENDS empty.txt) export(TARGETS mytarget FILE export.cmake) Steps to Reproduce: The shell terminal session is attached as a file (terminal-output.txt). ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-07-21 07:16 Erik Sjölund New Issue 2015-07-21 07:16 Erik Sjölund File Added: terminal-output.txt ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers