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 <pem.l...@gmail.com> wrote: > In case it helps someone else, here's what I have: > > # after link, add exe > file(GLOB

[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

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 <pem.l...@gmail.com> wrote: > I use cmake to generate an iOS xcode project for "ios-cmake-master". Then >

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

2015-09-09 Thread Peter List
s "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 <pem.l...@gmail.com> wrote: > Actually I guess I found

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

2015-08-30 Thread Peter List
. 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 brad.k...@kitware.com wrote: On 08/28/2015 03:34 AM, Peter List wrote

[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

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

2015-08-27 Thread Peter List
at 11:50 PM, Peter List pem.l...@gmail.com wrote: vs2010 works for my CMakeLists.txt: cmake -GVisual Studio 10 2010 -DCMAKE_SYSTEM_NAME=Android ..\pemDemos -- The C compiler identification is GNU 4.9.0 -- The CXX compiler identification is GNU 4.9.0 -- Check for working C compiler using

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

2015-08-27 Thread Peter List
On Thu, Aug 27, 2015 at 12:52 PM, Dmitry Polyanitsa dpolyani...@nvidia.com 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 the next release. -Dmitry *From:* Peter List

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

2015-08-26 Thread Peter List
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 *From:* cmake-developers [mailto:cmake-developers-boun...@cmake.org] *On Behalf Of *Peter List *Sent:* Wednesday

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

2015-08-25 Thread Peter List
... On Tue, Aug 25, 2015 at 12:57 AM, Peter List pem.l...@gmail.com 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 NativeActivity example so I'm

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

2015-08-25 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

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

2015-08-24 Thread Peter List
, Brad King brad.k...@kitware.com 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 an APK? I can generate vcxproj that builds a Tegra-Android *.so file, but it does not build me an APK, and my

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

2015-08-24 Thread Peter List
at 8:20 PM, Peter List pem.l...@gmail.com wrote: Per Brad's suggestion, I removed this line from my CMakeLists.txt: add_library(${PROJECT_NAME} SHARED ${SRC_LIST}) And I added these lines: set(CMAKE_ANDROID_GUI TRUE) set(CMAKE_ANDROID_API 19) # Kindle Fire HD 6 set(CMAKE_ANDROID_API_MIN 19

[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 Visual