We are using CMake build system for our builds.
I want to pass multiple jars for -classpath (-cp) parameter for kotlinc compiler. Something like bellow
kotlinc A.kt B.kt C.kt -cp “PathToJar1;PathToJar2;PathToJar3” -d sample.jar
When I am doing like above for PathToJar2 and next it says,
error: source entry is not a Kotlin file: PathToJar2
error: source entry is not a Kotlin file: PathToJar3
Any help wpould be greatly appreciated.