Re: [cmake-developers] cmake xcode ios Build Phases > New Copy Files Phase?

2015-09-10 Thread Peter List
CMAKE_CURRENT_SOURCE_DIR}/shaders ${PROJECT_BINARY_DIR}/shaders) add_executable(${PROJECT_NAME} ${SRC_LIST}) endif() On Thu, Sep 10, 2015 at 1:45 AM, Peter List wrote: > In case it helps someone else, here's what I have: > > # after link, add exe > file(GLOB

Re: [cmake-developers] cmake xcode ios Build Phases > New Copy Files Phase?

2015-09-09 Thread Peter List
. Oh I guess "Copy Bundle Resource" is not the same as "Copy Files"... But I got something that works, and I'll have to look into the difference between those as a separate issue... On Thu, Sep 10, 2015 at 1:20 AM, Peter List wrote: > Actually I guess I found th

Re: [cmake-developers] cmake xcode ios Build Phases > New Copy Files Phase?

2015-09-09 Thread Peter List
Actually I guess I found the answer here... https://stackoverflow.com/questions/30430968/add-xcode-build-phase-via-cmake On Thu, Sep 10, 2015 at 1:09 AM, Peter List wrote: > I use cmake to generate an iOS xcode project for "ios-cmake-master". Then > I have to can manually

[cmake-developers] cmake xcode ios Build Phases > New Copy Files Phase?

2015-09-09 Thread Peter List
I use cmake to generate an iOS xcode project for "ios-cmake-master". Then I have to can manually add my "shaders" folder to xcode > cmd+4 > Build Phases > + New Copy Files Phase > Destination = Resources, + to add my "shaders" folder. This allows me to have XCode copy my GLSL "shaders" folder (or

Re: [cmake-developers] cmake built-in support for iOS (with SDL2)

2015-08-30 Thread Peter List
ke support. Personally I wish Qt would focus on contributing to cmake (and expanding Qt Creator's built-in cmake support) instead of doing their own qmake and qbs :-) thank you & best regards On Fri, Aug 28, 2015 at 1:43 PM, Brad King wrote: > On 08/28/2015 03:34 AM, Peter List w

[cmake-developers] cmake built-in support for iOS (with SDL2)

2015-08-28 Thread Peter List
I notice cmake does not list built-in support for iOS ( http://www.cmake.org/cmake/help/v3.3/manual/cmake-toolchains.7.html ) 1) Are there any plans to add built-in iOS support as part of the standard cmake release? 2) I haven't tried it yet, but what's the best way to do (cmake + SDL2 + OpenGL E

Re: [cmake-developers] nvidia nsight tegra set vcxproj properties (Ant Build) in cmake file

2015-08-27 Thread Peter List
sts.txt:1 (project) -- Configuring incomplete, errors occurred! See also "H:/Pem_Code/grfxdemossdl2015/pemDemos/build-android-vs2010/CMakeFiles/CMakeOutput.log". See also "H:/Pem_Code/grfxdemossdl2015/pemDemos/build-android-vs2010/CMakeFiles/CMakeError.log". H:\Pem_Code\grfxd

Re: [cmake-developers] nvidia nsight tegra set vcxproj properties (Ant Build) in cmake file

2015-08-27 Thread Peter List
6f1-win32-x86, and it gives the same error. best regards, Peter On Thu, Aug 27, 2015 at 12:52 PM, Dmitry Polyanitsa wrote: > I’m glad you like it J BTW generating for VS2013 + Nsight Tegra should > already be supported in CMake. Support for VS2015 will be added to Nsight > Tegra in th

Re: [cmake-developers] nvidia nsight tegra set vcxproj properties (Ant Build) in cmake file

2015-08-26 Thread Peter List
=8c0afaf4 > > > > It adds the ability to set both Native Library Directories and Native > Library Dependencies, among other things. Thanks for the link to the forum > post, by the way – we forgot to update it and will do that now. > > > > -Dmitry > > > >

[cmake-developers] nvidia nsight tegra set vcxproj properties (Ant Build) in cmake file

2015-08-25 Thread Peter List
I have a working hello world cmake + built-in Android using nvidia nsight tegra. It uses SDL2. Unfortunately, after I run cmake I have to manually edit the following in my vcxproj to add SDL2: Configuration Properties > Ant Build > Native Library Directories, Native Library Dependencies I found

Re: [cmake-developers] cmake's built-in support for android using nvidia nsight tegra

2015-08-25 Thread Peter List
xtern void Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass cls, jobject obj); } On Tue, Aug 25, 2015 at 1:09 AM, Peter List wrote: > I worked around that error by editing SDL_android_main.c: > > extern "C" > { > /* Called before SDL_main() to ini

[cmake-developers] SDL2 + CMake + Android (on Windows)

2015-08-24 Thread Peter List
What's the best way to build a hello world SDL2 project with CMake for Android (on Windows)? -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more inf

Re: [cmake-developers] cmake's built-in support for android using nvidia nsight tegra

2015-08-24 Thread Peter List
to run the APK... On Tue, Aug 25, 2015 at 12:57 AM, Peter List wrote: > I'm now attempting to build a simple SDL2 Android application with CMake's > built-in Android support (uses nvidia tegra nsight for visual studio 2010) > > SDL2-2.0.3 does not appear to have a NativeAc

Re: [cmake-developers] cmake's built-in support for android using nvidia nsight tegra

2015-08-24 Thread Peter List
LOBAL DEFAULT8 SDL_Android_Init So why doesn't my linker step find SDL_Android_Init()? thank you for any leads On Mon, Aug 24, 2015 at 8:20 PM, Peter List wrote: > Per Brad's suggestion, I removed this line from my CMakeLists.txt: > > add_library(${P

Re: [cmake-developers] cmake's built-in support for android using nvidia nsight tegra

2015-08-24 Thread Peter List
NativeApp.vcxproj as a reference. thank you & best regards On Mon, Aug 24, 2015 at 9:49 AM, Brad King wrote: > On 08/23/2015 04:44 PM, Peter List wrote: > > How do I tell cmake to include "Ant Build" in my vcxproj, so that > > it will package my project into a

[cmake-developers] cmake's built-in support for android using nvidia nsight tegra

2015-08-23 Thread Peter List
TLDR: How do I tell cmake to include "Ant Build" in my vcxproj, so that it will package my project into an APK? I can generate vcxproj that builds a Tegra-Android *.so file, but it does not build me an APK, and my vcxproj is missing the "Ant Build" property section. As a reference, if I use Visua