fileapi: no file is created for targets with "reserved" names
Example CMakeLists.txt:
cmake_minimum_required(VERSION 3.14)
project(test)
cmake_policy(SET CMP0037 OLD) // allows special chars in target name
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/complex)
add_executable(complex/name main.cpp)
codemodel
refers to the target file as "target-complex/name-Debug-0800d0c7d8ff5d7d3299.json" which is an invalid file name on *nix file systems and this prevents CMake from creating it I guess. Escaping/removing special characters from the file name should solve this problem.