How to add Kotlin files to CMake Build system
Currently, in our project we are suing java files for Android development. But we want to move to Kotlin files. Kotlin is similar to java only. And thus we though add_jar would be able to work fine with kotlin (.kt) files. But it failed with below error
ninja: error: FindFirstFileExA(CMakeFiles/TallyWorldMain_JAR.dir/D:/TW/Workspace/TallyWorld/FoundationalPlatform/TallyWorldMain.Source/TWMainAndroidKernel): The filename, directory name, or volume label syntax is incorrect.
I have .kit files under D:/TW/Workspace/TallyWorld/FoundationalPlatform/TallyWorldMain.Source/TWMainAndroidKernel folder.
Please let me know how to add kt files in our cmake build system. We are using Ninja Multi-Config generator.
Regards, Mohsin Siddiqui