[CMake] Set Visual Studio parameters not supported directly by CMake

2015-05-05 Thread Max Savenkov
Is there any way to set a parameter of a Visual Studio project that is not directly supported by a CMake property or keyword? This is especially important for the new platforms in Visual Studio, like Android or Emscripten. There are a lot of fields I'd like to set, like Debuggable flag, JAR

[CMake] Tegra NSight shared libraries not copied into apk

2015-04-29 Thread Max Savenkov
When I specify a shared library via target_link_libraries, it gets added to Linker options and is linked. But when the final APK is assembled, specified shared library does not get copied into it (into lib\armeabi-v7a directory), and therefore I get an error after launch, because loadLibrary

Re: [CMake] CMake, Visual Studio and cross-compilation.

2014-08-30 Thread Max Savenkov
Studio is such a special case anyway... Guess I can try to create a patch similar to one for NSight, because vs-android (on which NSight is based) and vs-tool are fairly similar too... 30.08.2014 12:38, Nils Gladitz пишет: On 30.08.2014 07:21, Max Savenkov wrote: There are two cases I'm

[CMake] CMake, Visual Studio and cross-compilation.

2014-08-29 Thread Max Savenkov
Lately, there appeared some tools that allow C++ programmers to use Visual Studio for cross-compiling code for platforms other than Windows. I would very much like to generate projects that use these tools with CMake. There are two cases I'm primarily interested in: vs-android (and NVidia's VS