Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 14.0.2
-
None
-
Qt5, but I don't think it matters.
-
-
196f17cfa (15.0)
Description
Background:
cm allows me to execute any target, including UTILITY target (defined via add_custom_target(...)
cmo allows me to open the cmake file where targets that are not UTILITY are defined.
I'd like to be able use cmo to navigate to utility targets too.
(Executing utility targets makes less sense, but they can have custom commands added)
Repro:
Sample cmake file (with empty dummy.c & dummy.txt files in same dir):
project(cm_cmo_repro) add_library(lib_cm_and_cmo dummy.c) add_custom_target(util_only_cm_and_sadness SOURCES dummy.txt)
Expected:
Both targets available via 'ctrl-k + cmo'.
Bonus expectation:
util not available in 'ctrl-k + cm' as it doesn't do anything. (but it could, if add_custom_command(..) was used to add something to that target, like:
add_custom_command(TARGET util_cm_and_cmo COMMAND echo "hello world!")