Project: titanium
Issue TIMOB-18989: Windows: Unable to build a project if the project name contains a space
h5.Description When building a project if the project name contains a space then the build fails with the below {code} [WARN] CMake Error at CMakeLists.txt:99 (add_executable): The target name "space app" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior. CMake Error at CMakeLists.txt:105 (set_target_properties): set_target_properties Can not find target to add properties to: space app [WARN] CMake Error at CMakeLists.txt:107 (target_link_libraries): Cannot specify link libraries for target "space app" which is not built by this project. [INFO] -- Configuring incomplete, errors occurred! See also "C:/Users/Windo_000/AppData/Local/Temp/space app/wp.ARM/CMakeFiles/CMakeOutput.log". See also "C:/Users/Windo_000/AppData/Local/Temp/space app/wp.ARM/CMakeFiles/CMakeError.log". ERROR | ti run exited with error code 1 {code} When building a project with a similar name to iOS and Android the build works with no problems h5.Steps To Reproduce 1. Create a project using {{ti create}} with a space in the name 2. Build the project for Windows using {{ti build -p windows -T wp-device--build-only}} h5.Actual Result The build fails with the above h5.Expected Result The build should pass
Story points: 3