Re: [CMake] New Module: FindSDL_gfx.cmake

2011-07-14 Thread Eric Wing
On 7/6/11, David Cole david.c...@kitware.com wrote: Many people care. Few have time to respond to everything on the CMake mailing list... This is how to become a CMake module maintainer if it is necessary: http://www.cmake.org/Wiki/CMake:Module_Maintainers Looks like Eric Wing

Re: [CMake] Nesting a cmake project

2010-06-07 Thread Eric Wing
On Mon, Jun 07, 2010 at 02:14:00PM -0400, Nathan Huesken wrote: 1. Why do you need to nest one project inside the other? I think you will have less trouble if you treat each one as its own independent project. Because it the outer projects depends on the inner and they are strongly

Re: [CMake] How to check the operating system is MacOSX?

2012-09-16 Thread Eric Wing
On 9/16/12, Michael Jackson mike.jack...@bluequartz.net wrote: On Sep 15, 2012, at 1:32 PM, Andreas Pakulat wrote: Hi, On Sat, Sep 15, 2012 at 12:46 PM, Loaden loa...@gmail.com wrote: http://www.cmake.org/Wiki/CMake_Useful_Variables UNIX is TRUE on all UNIX-like OS's, including Apple OS X

Re: [CMake] How to check the operating system is MacOSX?

2012-09-18 Thread Eric Wing
On 9/18/12, Doug douglas.lin...@gmail.com wrote: Just idly though, I've never yet encountered a situation where: if(APPLE) ... elseif(UNIX) ... endif() Wasn't sufficient. I have plenty of these situations :P The most common case though is that 3rd party dynamic libraries are not

Re: [CMake] How to check the operating system is MacOSX?

2012-09-18 Thread Eric Wing
On 9/18/12, Stefan Reuschl stefan.reus...@gmail.com wrote: How do you crosscompile for iOS? If using a CMake toolchain you could simply set a variable in that file, I which you could check later... Right now I'm not brave enough to try using CMake for iOS and Android. I maintain separate

Re: [CMake] Questions on build lua source code with cmake

2012-11-07 Thread Eric Wing
On 11/4/12, lzprgmr baiyanhu...@gmail.com wrote: Hi, All After going through the cmake examples, I decide trying build lua with cmake to get a better understanding, and got some questions. Multiple people have written CMake descriptions to build Lua. I posted my own here awhile back:

Re: [CMake] Building a library for both C and C++

2013-01-09 Thread Eric Wing
On Wed, Jan 9, 2013 at 1:17 AM, kgardenia42 kgardeni...@googlemail.com So, lets say I have foo.c, bar.c and baz.c and I would like to build mylib.a and mylib++.a I concur with the others that usually this is unnecessary and simply building a C library with extern C guards for C++ is usually

Re: [CMake] So Long

2013-01-30 Thread Eric Wing
On 1/30/13, David Cole david.c...@kitware.com wrote: Howdy folks, Thought I'd ping the CMake mailing lists one last time before I have to give up david.c...@kitware.com... ;-) For those of you that haven't heard yet, I've just embarked on a new adventure with a little startup company called

[CMake] How to find/run external host executables when using cross compiling

2013-12-04 Thread Eric Wing
I'm currently trying to port a rather large, complex project to Android. It has an existing CMake project so I'm trying to leverage that. I've taken and enhanced one of the Android-CMake toolchains I've found. This particular project I'm porting has unfortunate dependencies on running the host

Re: [CMake] How to find/run external host executables when using cross compiling

2013-12-09 Thread Eric Wing
On 12/4/13, Eric Wing ewmail...@gmail.com wrote: I'm currently trying to port a rather large, complex project to Android. It has an existing CMake project so I'm trying to leverage that. I've taken and enhanced one of the Android-CMake toolchains I've found. This particular project I'm

Re: [CMake] Building a Mac OS X framework

2014-03-13 Thread Eric Wing
On 3/10/14, neoagge...@gmail.com neoagge...@gmail.com wrote: Hi, Is there any *recent* guide that describes how to build a Mac OS X framework using CMake. All I could find in Google was a 2009 discussion in this list and a largely outdated (i think) page in the cmake wiki. I currently

Re: [CMake] Write CMakeLists in another programming language?

2014-04-04 Thread Eric Wing
On 4/3/14, Clark Wang dearv...@gmail.com wrote: I've been using cmake for some time but still I'm confused about the syntax. Following are 2 examples from me: - http://www.cmake.org/pipermail/cmake/2013-September/055924.html - http://www.cmake.org/pipermail/cmake/2013-October/056036.html

Re: [CMake] Linking to Mac OS X frameworks

2014-04-17 Thread Eric Wing
On 4/17/14, Aggelos Kolaitis neoagge...@gmail.com wrote: Short: Is linking to Mac OS X frameworks with Xcode generator totally broken, or am I just doing something wrong? Long: I use CMake as the build system for my project[1], and I use this [2] module to find SDL2 in the user's system.

Re: [CMake] CMake for Android projects

2014-05-06 Thread Eric Wing
So I have 4 examples I actually tried to document. These all use my fork/derivative of the Android-CMake toolchain, which I believe comes from OpenCV. (It had grown stale with later NDKs and I hit problems). All of these rely heavily on the external NDK module system (NDK_MODULE_PATH). The first

Re: [CMake] What do Visual Studio users do so they can run/debug their programs when using 3rd party .dlls?

2014-05-23 Thread Eric Wing
On 5/23/14, Dan Kegel d...@kegel.com wrote: You can add the directory containing the 3rd party DLLs to the global PATH environment variable, I bet. So I'm looking for a CMake way to deal with this. I don't want to change the system environment. My stuff is highly distributed among lots of

Re: [CMake] What do Visual Studio users do so they can run/debug their programs when using 3rd party .dlls?

2014-05-23 Thread Eric Wing
On 5/23/14, Dan Kegel d...@kegel.com wrote: On Fri, May 23, 2014 at 4:38 PM, Eric Wing ewmail...@gmail.com wrote: On 5/23/14, Dan Kegel d...@kegel.com wrote: You can add the directory containing the 3rd party DLLs to the global PATH environment variable, I bet. ... I just want a work-out

Re: [CMake] What do Visual Studio users do so they can run/debug their programs when using 3rd party .dlls?

2014-06-11 Thread Eric Wing
Thanks everybody for the answers. I finally got it working more or less to my satisfaction by writing it manually. Mike, I grabbed some of your install stuff. Thanks for that. J Decker, thanks for reminding me about CMAKE_CFG_INTDIR. I knew about it, but it's easy to forget. (That's why I didn't

Re: [CMake] Mac @loader_path for @rpath questions

2014-06-11 Thread Eric Wing
On 5/24/14, clin...@elemtech.com clin...@elemtech.com wrote: - Original Message - I have a bunch of libraries and frameworks that properly use @rpath. Now I am trying to build an application that uses those library and frameworks via CMake. From this blog:

[CMake] Cygwin drive paths are killing me

2014-06-11 Thread Eric Wing
I am currently in this unholy trinity of needing to use Android on Windows through Cygwin. Basically, the Android NDK requires Cygwin if you want to run it on Windows. I'm using my fork of the Android-CMake toolchain originally from OpenCV and trying to generate Unix Makefiles with CMake. I

Re: [CMake] Cygwin drive paths are killing me

2014-06-11 Thread Eric Wing
Thanks everybody for the replies. - I am using the native CMake, not the cygwin one. I didn't realize there was a difference. I'll try that and hope that works. - The Android NDK page itself says Cygwin 1.7 is required. Maybe it is BS, but I don't know. Required development tools * For

Re: [CMake] Cygwin drive paths are killing me

2014-06-11 Thread Eric Wing
So I tried the Cygwin CMake, and while it allowed me to remove most of my hacks, the final Makefile was still not usable because it appears the standalone gcc wants a Windows path and not /cygdrive/. So let's pretend I can do this without any Unix tools... - Am I still generating Unix Makefiles?

Re: [CMake] Cygwin drive paths are killing me

2014-06-11 Thread Eric Wing
Yes, I will probably try MSYS next. Then I will see if I can remove MSYS entirely. (Though I'll need to rewrite my helper script which is mostly Perl.) I'll look into that standalone Make 3.8.1. The helper script basically does the CMake generation 3 times (armeabi, armeabi-v7a, x86). The script

Re: [CMake] Cygwin drive paths are killing me

2014-06-13 Thread Eric Wing
I finally got it working. Here's a summary of my findings in case anybody finds this useful. (I think this will ultimately be useful info in trying to build a proper Android generator for CMake.) - I ditched Cygwin. (But I learned that CMake later on for Unix Makefiles complains about Cygwin

Re: [CMake] Cygwin drive paths are killing me

2014-06-16 Thread Eric Wing
On 6/14/14, David Cole dlrd...@aol.com wrote: You are persistent... One of the keys to your success, I'm sure. But, out of curiosity... if you have Linux and Mac environments all set up already, why not build the Android stuff from one of those platforms?? Why go through all the pain of

[CMake] How do I create a dependency to copy (touched) resource files when building an executable?

2014-06-30 Thread Eric Wing
I need to copy resource files from the source directory to the binary directory with the creation of my executable. I want CMake's dependency tracking to handle (re)copying these files whenever the source has been touched. Looking at other similar questions like:

Re: [CMake] How do I create a dependency to copy (touched) resource files when building an executable?

2014-06-30 Thread Eric Wing
file only. Therefore, there is nothing to trigger the generation of the binary-dir file. Perhaps you wanted 'fooresources' to depend on the binary-dir file instead? Petr On Mon, Jun 30, 2014 at 3:20 PM, Eric Wing ewmail...@gmail.com wrote: I need to copy resource files from the source

Re: [CMake] How do I create a dependency to copy (touched) resource files when building an executable?

2014-06-30 Thread Eric Wing
Okay, I switched just the add_custom_target DEPENDS to the binary directory (but left the add_custom_command alone). That seems to be doing what I need. I think I'm still not fully understanding the reasoning behind it, but problem solved I guess. Thanks, Eric On 6/30/14, Eric Wing ewmail

Re: [CMake] cmake 3.0.0 generating VS sln file default target machine type x86 (UNCLASSIFIED)

2014-09-26 Thread Eric Wing
On 9/26/14, Su, Simon M CTR USARMY ARL (US) simon.m.su@mail.mil wrote: Classification: UNCLASSIFIED Caveats: NONE For some reason, when running cmake in VS2013 (express) x64 Cross Tools Command Prompt is not picking up the Visual Studio 12 2013 Win64 generator by default for this

Re: [CMake] [cmake-developers] [ANNOUNCE] CMake 3.1.0-rc1 now ready for testing!

2014-10-30 Thread Eric Wing
Just curious, are the new WinRT changes the same exact changes from CMakeMS? And if the CMakeMS people are listening, I just want to say you guys did a terrific job! Thanks, Eric -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] [cmake-developers] [ANNOUNCE] CMake 3.1.0-rc1 now ready for testing!

2014-11-04 Thread Eric Wing
On 10/31/14, Gilles Khouzam gilles.khou...@microsoft.com wrote: We actually have a couple if extra changes that are not fully ready to be pushed upstream yet. ~Gilles Sent from my Windows Phone Since I have your attention, using CMakeMS, I hit what looks like a bug in the generation for the

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2014-11-04 Thread Eric Wing
Bump. With CMake 3.1 on the horizon, I was wondering if there was any progress on this. This would be really useful to me. I am basically invoking command line cmake.exe so I can pass all the right options, including my own CMake Initial Cache file. I ship an entire self-contained SDK of sorts

Re: [CMake] [cmake-developers] [ANNOUNCE] CMake 3.1.0-rc1 now ready for testing!

2014-11-04 Thread Eric Wing
On 11/4/14, Gilles Khouzam gilles.khou...@microsoft.com wrote: Hi Eric, Can you send me a little more details or an example that exhibits the problem? I'd be happy to take a look. Sure. I'll respond offlist for this. Thanks, Eric -- Powered by www.kitware.com Please keep messages

[CMake] Using CMake to build an Emscripten output?

2014-11-04 Thread Eric Wing
Not that I really have time to fix this, but I was experimenting with my C based codebase to see if I could compile it with Emscripten so it could run in a browser. After working around a lot of scary compiler bugs, I got it to work. But I invoked the build process by hand. So the next thing on

[CMake] CPack: .desktop files with tar.gz maker?

2014-11-07 Thread Eric Wing
I have a build and packaging system where I can distribute (mostly) standalone apps for Linux desktop. I am using the default CPack installer which creates .tar.gz, .Z, and .sh files. I like this opposed to the .deb/.rpm package systems because users don't need root access to install/use my stuff

Re: [CMake] CPack: .desktop files with tar.gz maker?

2014-11-09 Thread Eric Wing
On 11/7/14, Clinton Stimpson clin...@elemtech.com wrote: On Friday, November 07, 2014 03:50:32 PM Eric Wing wrote: I have a build and packaging system where I can distribute (mostly) standalone apps for Linux desktop. I am using the default CPack installer which creates .tar.gz, .Z, and .sh

Re: [CMake] Copying shared libraries in a post-build step

2014-12-09 Thread Eric Wing
On 12/9/14, Walter Gray chrysal...@gmail.com wrote: Hey all, I'm working on a module that will allow me to automatically copy all the required .dll files as defined by well-formed import library targets to the appropriate location (same folder for windows, Frameworks folder for OSX bundle,

Re: [CMake] Copying shared libraries in a post-build step

2014-12-09 Thread Eric Wing
On 12/9/14, J Decker d3c...@gmail.com wrote: This is all handled by install. I already addressed INSTALL. I know you can change the directory. That is irrelevant to the point which I already addressed. Sounds really like you're working to build a package, which install is intended to do.

Re: [CMake] Copying shared libraries in a post-build step

2014-12-09 Thread Eric Wing
Your scripts would still only work for one target... since you'd have to pick one to build the rest of the package around, so if I have a build product that has a dozen utilities, rather than having one place they can all work from, I have now to either duplicate all files to all runnable

Re: [CMake] xcode generator's use of explicitFileType vs lastKnownFileType

2014-12-18 Thread Eric Wing
On 12/18/14, Radu Margarint rad...@raduma.com wrote: Greetings, I hope I'm asking this in correct place. I have recently been running into some issues using the xcode project files generated though cmake, and I have traced them down to PBXFileReference nodes using explicitFileType attributes

Re: [CMake] cmake iOS application + framework link error

2015-04-29 Thread Eric Wing
On 4/25/15, David Hirvonen dhirvo...@elucideye.com wrote: I'm hitting a link error when linking an iOS application with an internally created framework/library using the the CMake Xcode generator and an iOS toolchain. I've put together a minimal CMakeLists.txt example here:

Re: [CMake] iOS multi-arch library target and xcodebuild

2015-06-24 Thread Eric Wing
On 6/24/15, Ruslan Baratov via CMake cmake@cmake.org wrote: On 24-Jun-15 23:03, Bill Hoffman wrote: What is in the patched CMake? * workaround for bug: http://public.kitware.com/Bug/view.php?id=12506 * installing universal simulator + device library CMake already supports mulit-arch libraries

Re: [CMake] iOS multi-arch library target and xcodebuild

2015-06-25 Thread Eric Wing
* iOS toolchains I'm using: https://github.com/ruslo/polly (used to switch between different SDKs + to add some flags, like -std=c++11) Do you have to use a different toolchain for every different variant and different OS version? That's rather unfortunate if so. My current tweaks don't require

[CMake] How do I set an Xcode property on the global/root project?

2015-06-14 Thread Eric Wing
I have been successful at setting Xcode properties on specific targets with CMake via: set_property (TARGET ${TARGET} PROPERTY XCODE_ATTRIBUTE_${XCODE_PROPERTY} ${XCODE_VALUE}) But I have been unable to set properties on the global/root project. Is there a way to do this? Much of the time, I

Re: [CMake] How do I set an Xcode property on the global/root project?

2015-06-14 Thread Eric Wing
On 6/14/15, Gregor Jasny gja...@googlemail.com wrote: Hi Eric, On 14/06/15 14:38, Eric Wing wrote: I have been successful at setting Xcode properties on specific targets with CMake via: set_property (TARGET ${TARGET} PROPERTY XCODE_ATTRIBUTE_${XCODE_PROPERTY} ${XCODE_VALUE}) But I have

Re: [CMake] [cmake-developers] CMake IR

2015-07-30 Thread Eric Wing
Disclaimer: My name is attached to the failed CMake/Lua attempt. In principle, I like the idea of what you propose. However, in practice, I think it might be too big and too ambitious. Here are some quick thoughts I have: - I am in the camp that I do not like the CMake language. And it is often

[CMake] Possible to dynamically construct macro/function names to invoke?

2015-07-19 Thread Eric Wing
I would like to dynamically construct a macro or function name to invoke. I basically have a core CMake system I want users to be able to extend/plug stuff into without knowing about a lot of the core CMake implementation. Callback functions would be an easy way for me to accomplish this. As an

Re: [CMake] Mac OS X framework building

2016-06-05 Thread Eric Wing
On 6/5/16, Bill Somerville wrote: > On 24/05/2016 21:55, Bill Somerville wrote: >> I am trying to make a framework using a shared library. The docs say >> that the target property PUBLIC_HEADER should be a list of interface >> header files that install(TARGET ...) will

Re: [CMake] [cmake-developers] Drop support for older Xcode versions?

2016-02-06 Thread Eric Wing
On 2/6/16, Gregor Jasny via cmake-developers wrote: > Hello, > > I'd like to get your feedback on deprecating or dropping support for > older Xcode versions. During changes on the Xcode generator it gets > harder and harder to test against old and very old Xcode

Re: [CMake] XCode Generation Issue

2016-01-20 Thread Eric Wing
On 1/20/16, David Morsberger <d...@morsberger.com> wrote: > >> On Jan 19, 2016, at 10:11 PM, Eric Wing <ewmail...@gmail.com> wrote: >> >> On 1/19/16, David Morsberger <d...@morsberger.com> wrote: >>> Any help would be appreciated. >>> &g

Re: [CMake] XCode Generation Issue

2016-01-21 Thread Eric Wing
On 1/21/16, David Morsberger wrote: > Eric, > > I went down a rabbit hole and pulled myself back out. I narrowed it down to > the following. > > We are using cmake to check if the linker supports -Wl,—as-needed. The test > compile (and link?) command cmake builds using ‘cmake

Re: [CMake] XCode Generation Issue

2016-01-19 Thread Eric Wing
On 1/19/16, David Morsberger wrote: > Any help would be appreciated. > > In particular I’d like to know how the default compiler arguments are set > when ‘cmake -G Xcode’ is executed. The attached file contains the cmake test > compile extracted and reformatted from

[CMake] Video glimpse of how I'm using CMake with Swift (and CMake in general)

2016-02-18 Thread Eric Wing
I thought some of you might find this video I made interesting. It is a teaser video for a new 2D cross-platform game SDK I've been working on. It makes aggressive use of CMake for the build system. https://youtu.be/w8ftI9mpGdY The video goes by fast since is a time-lapse style. But hopefully

Re: [CMake] How to deal with generated source files (w/ dependency tracking) for globs

2016-04-06 Thread Eric Wing
On 4/4/16, Nicholas Braden wrote: > I haven't tested this myself, but instead of using a glob, you could > have a build step that generates a CMake script file with the list of > generated files in it (e.g. via execute_process to run another CMake > script whose only

Re: [CMake] Best way to show/include CMake files in IDE

2016-03-07 Thread Eric Wing
On 3/7/16, Eric Wing <ewmail...@gmail.com> wrote: > On 3/7/16, David Cole <dlrd...@aol.com> wrote: >> If you include those files in the source list for a library, executable, >> or >> custom target, they should show up in IDE projects, and they should be >>

Re: [CMake] Best way to show/include CMake files in IDE

2016-03-07 Thread Eric Wing
On 3/7/16, David Cole wrote: > If you include those files in the source list for a library, executable, or > custom target, they should show up in IDE projects, and they should be > ignored by Makefile type projects. Have you tried that? > > > David > I haven't tried it yet

[CMake] Best way to show/include CMake files in IDE

2016-03-07 Thread Eric Wing
I have a bunch of .cmake support files in my project that I have split off from CMakeLists.txt (using INCLUDE to combine them) to separate concerns. (Source files, application assets, script files, platform settings, codesigning, etc.) This works, but they don't show up in IDEs (Visual Studio,

[CMake] How to deal with generated source files (w/ dependency tracking) for globs

2016-04-04 Thread Eric Wing
Hi, this is kind of a side problem that was asked of me. I'm not sure how many hoops I actually want to jump through to solve this. But, here's the situation. I have a really nice, traditional C based project in CMake. All my dependency tracking works really well for cross-platform and IDE

Re: [CMake] How to deal with generated source files (w/ dependency tracking) for globs

2016-04-14 Thread Eric Wing
On 4/6/16, iosif neitzke wrote: > I think it depends on when you want the output files from Nim > generated and which files are the most frequently developed. > If it is usually a one-time generation per clean development session, > the simplest case, where the

Re: [CMake] OSX Code Signing best practice

2016-07-15 Thread Eric Wing
On 7/12/16, Harry Mallon wrote: > Hello all, > > What is the current best practice for code signing OSX .apps and binaries? I > am using: > > 1. MAC_OSX_BUNDLE for my .app targets. > 2. unix style executables > 3. dylibs > 4. A prefpane (which I haven't got working yet)

[CMake] How to codesign .msi from WIX/CPack?

2016-09-06 Thread Eric Wing
I'm finally trying the WIX/CPack MSI generator. Pretty nice! One thing I need to do is instruct the build process to codesign via signtool.exe. I've managed to figure out how to codesign my .exe via a POST_BUILD add_custom_command step. But now I would like to make sure the .msi that gets

Re: [CMake] How to codesign .msi from WIX/CPack?

2016-09-08 Thread Eric Wing
On 9/7/16, David Cole wrote: > There may be a hook at the CPack level you can implement, but I'd have to > dig to figure out what it is and if it even presently exists. > > The easy thing to do would be to implement a custom target which does two > custom commands: the first the

Re: [CMake] CMake integration in Gradle (Android Studio)

2016-10-31 Thread Eric Wing
So I have been using (a custom) CMake + Android Studio/Gradle for some years now. I only recently saw that both official CMake is adding Android support, and that the official Android tools are supporting CMake. I’m actually still confused on the differences between the two and what each offers in

Re: [CMake] CMake + Gradle for Android

2017-08-08 Thread Eric Wing
Hi Jom, I'm glad to hear Android's CMake will eventually catch up. But since you are here, can you add a feature that allows a user to specify an alternate location for where CMake is located? There are two useful cases for this. 1) Users daring or desperate enough to try using a more recent

Re: [CMake] CMake + Gradle for Android

2017-08-08 Thread Eric Wing
On 8/8/17, Jom O'Fisher wrote: > Yeah, we'd like to support any CMake more recent than 3.7.0 (which is the > first version to support server mode). So your fork would need to be based > on a somewhat recent CMake. We probably wouldn't support a path directly in >

Re: [CMake] CMake on Raspberry Pi

2018-05-21 Thread Eric Wing
On 5/20/18, Shawn G wrote: > Hi there, im having some troubles installing CMake on raspberry pi 3 > running raspbian stretch. > I keep getting this error message when i run the command "sudo apt-get > install build-essential cmake pkg-config" > The error message: > " Reading

[CMake] Swift Makefile/Ninja generator: trying to bring up to date

2018-03-11 Thread Eric Wing
Hi, I know it’s been awhile since I last posted anything about this. Since my last post, I had quietly added to the Ninja backend to bring it to par with the initial work I did on the Makefile generator. This was partly done because I was trying to get compatibility with Android which uses the

[CMake] How to build CMake so it works on an older Linux?

2018-04-04 Thread Eric Wing
I just discovered that CMake no longer builds on my Ubuntu 12.04. I need to build binaries that are compatible with that ABI. I see that your binary distribution of CMake 3.11 still works on Ubuntu 12.04. Can you tell me what you do to achieve this? What are you doing for your official builds?

Re: [CMake] How to build CMake so it works on an older Linux?

2018-04-05 Thread Eric Wing
Thanks for the responses. Yes, I just need this to run on Ubuntu 12.04 (and some other old Linux's in that era). Yes, I think the probably is the libstdc++ dependency. As pointed out, it is really hard to get a newer compiler on Ubuntu 12.04. I've been down this road before, and if memory serves,

Re: [CMake] How to build CMake so it works on an older Linux?

2018-04-06 Thread Eric Wing
On 4/5/18, Robert Maynard wrote: > The official CMake binaries do the same thing as you and build with a > static libstdc++ and libgcc. > As far as dependencies we use static builds of those too, with most > being the version provided inside CMake, and an external

[CMake] Mac Xcode 11 Generator bug/problem with CODE_SIGN_IDENTITY default

2019-10-14 Thread Eric Wing
I hit a problem with the CMake/Xcode Generator using Xcode 11. (I think this problem started in Xcode 10 actually, but now I'm blocked really hard and need to solve this.) By default, Xcode is now trying to do "Sign to run locally" for the Code Signing Identity (CODE_SIGN_IDENTITY) property, by

Re: [cmake-developers] lua bindings?

2012-08-03 Thread Eric Wing
On 8/2/12, Doug douglas.lin...@gmail.com wrote: I'm quite curious about the possibility of writing a lua binding for cmake. There are two possible ways to go: 1) Create a set of discrete lua bindings which actually invoke cmake itself. 2) Integrate lua into cmake itself. Yes, there was a

Re: [cmake-developers] lua bindings?

2012-08-04 Thread Eric Wing
On 8/3/12, Doug douglas.lin...@gmail.com wrote: Sorry, lots of talk. Tangibly I imagine something like this: I recommend you skim the CMakeLua group for the old posts. (There aren't that many.) https://groups.google.com/forum/?fromgroups#!forum/cmakelua If I recall, Peter Kümmel had some

Re: [cmake-developers] [Generator] Android.mk

2014-01-10 Thread Eric Wing
On 1/10/14, Stephen Kelly steve...@gmail.com wrote: Vince Harron wrote: Android.mk files allow you to target multiple processor architectures/variants in one make invocation without any reconfiguring or multiple build folders. All of those binaries are embedded into one fat apk file that

Re: [cmake-developers] A goal for a simple Android toolchain file.

2014-03-23 Thread Eric Wing
On 3/21/14, Stephen Kelly steve...@gmail.com wrote: Hi, I'd like it to be this easy to create an Android toolchain file: set(CMAKE_SYSTEM_NAME Android) set(ANDROID_SDK_ROOT /home/stephen/android/android-sdk-linux/) set(ANDROID_NDK_ROOT /home/stephen/android/android-ndk-r9/)

Re: [cmake-developers] A goal for a simple Android toolchain file.

2014-03-27 Thread Eric Wing
On 3/26/14, Stephen Kelly steve...@gmail.com wrote: Eric Wing wrote: I have been using my fork of the Android-CMake (originally from OpenCV) that you want to obsolete. My fork contains a lot of fixes to deal with more recent NDK updates and more complicated requirements that I have. https

Re: [cmake-developers] A goal for a simple Android toolchain file.

2014-03-28 Thread Eric Wing
On 3/28/14, Stephen Kelly steve...@gmail.com wrote: Eric Wing wrote: I expect so, but knowing what the needs are helps inform what those changes might look like. http://public.kitware.com/Bug/view.php?id=14539 I'm not sure either. I recall an old thread about this That thread

Re: [cmake-developers] iOS support

2014-09-30 Thread Eric Wing
On 9/23/14, Florent Castelli florent.caste...@gmail.com wrote: Hi! My company is organizing soon a hack week where each employee is able to work on any project he wants. So, I've decided to work with Cmake and improve support for iOS to help the product team getting rid of manual project

Re: [cmake-developers] iOS support

2014-09-30 Thread Eric Wing
Thought of one more. I hate how the top, default target is ALL_BUILD. This is problematic for both Xcode and Visual Studio because when you use the big giant run button in the UI, the IDE is confused because ALL_BUILD is an aggregate target and not a real thing that can be run. At least for Xcode,

Re: [cmake-developers] [ANNOUNCE] CMake 3.1.0-rc1 now ready for testing!

2014-10-30 Thread Eric Wing
Just curious, are the new WinRT changes the same exact changes from CMakeMS? And if the CMakeMS people are listening, I just want to say you guys did a terrific job! Thanks, Eric -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] [CMake] [ANNOUNCE] CMake 3.1.0-rc1 now ready for testing!

2014-11-04 Thread Eric Wing
On 10/31/14, Gilles Khouzam gilles.khou...@microsoft.com wrote: We actually have a couple if extra changes that are not fully ready to be pushed upstream yet. ~Gilles Sent from my Windows Phone Since I have your attention, using CMakeMS, I hit what looks like a bug in the generation for the

Re: [cmake-developers] [CMake] [ANNOUNCE] CMake 3.1.0-rc1 now ready for testing!

2014-11-04 Thread Eric Wing
On 11/4/14, Gilles Khouzam gilles.khou...@microsoft.com wrote: Hi Eric, Can you send me a little more details or an example that exhibits the problem? I'd be happy to take a look. Sure. I'll respond offlist for this. Thanks, Eric -- Powered by www.kitware.com Please keep messages

Re: [cmake-developers] Support of codesign

2015-03-20 Thread Eric Wing
Sorry, I'm also very late on this thread, but there was a suggestion that codesigning should be in CMake instead of CPack. I agree and also say it needs to be integrated as part of the build process when specified. Here's a real world workflow. I use JavaScriptCore in my Mac application which

Re: [cmake-developers] Adding Swift support to CMake

2015-06-25 Thread Eric Wing
Hi Brad, I pushed up a couple of repos for everybody to try. First, I have my CMake changes I mentioned before. There are 2 commits. The first commit is the original simple hack. The second commit removes the hack part and tries to add a new language generator for Swift, using Java as a starting

[cmake-developers] Adding Swift support to CMake

2015-06-17 Thread Eric Wing
Hello all, I wanted to see if I could get the ball rolling on (Apple) Swift support for CMake. For more detail, here is the bug I’ve been chatting in: http://public.kitware.com/Bug/view.php?id=15401 Here is the summary: - For Apple developers, we need Swift support because it is going to be

Re: [cmake-developers] Adding Swift support to CMake

2015-07-02 Thread Eric Wing
On 6/29/15, Brad King brad.k...@kitware.com wrote: On 06/25/2015 09:24 AM, Eric Wing wrote: I pushed up a couple of repos for everybody to try. Thanks. From that I was able to make some progress with getting CMakeDetermineSwiftCompiler to work. I've made two tweaks

Re: [cmake-developers] Adding Swift support to CMake

2015-07-15 Thread Eric Wing
On 7/7/15, Brad King brad.k...@kitware.com wrote: On 07/02/2015 07:54 PM, Eric Wing wrote: Thank you Brad. When you are ready, let me know how I can help next. I have basic support with the Xcode generator done. Please try out this commit: Add rudimentary support for the Apple Swift

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-07 Thread Eric Wing
On 12/24/15, Eric Wing <ewmail...@gmail.com> wrote: >> set(SWIFT_BRIDGING_HEADER SwiftSDL-Bridging-Header.h) > > Quick addendum: Just realized the bridging header should probably be > per-target. > For reference, we have an Xcode specific, per-target variable

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-08 Thread Eric Wing
> Yes. A few months ago I spent a few hours looking at the commands Xcode > uses to build Swift code. For reference, here are some notes I took > (not well organized): > > > MergeSwiftModule produces .swiftmodule files,

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2015-12-24 Thread Eric Wing
> set(SWIFT_BRIDGING_HEADER SwiftSDL-Bridging-Header.h) Quick addendum: Just realized the bridging header should probably be per-target. -- 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

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-13 Thread Eric Wing
On 1/12/16, Brad King <brad.k...@kitware.com> wrote: > On 01/08/2016 06:15 PM, Eric Wing wrote: >> simple 'swiftc' integration going for ADD_EXECUTABLE, as described in >> the original post. > > Take the generator check out of Modules/CMakeDetermineSwiftCompiler.cmake &

Re: [cmake-developers] Problem with find_path and Frameworks

2016-05-25 Thread Eric Wing
On 5/25/16, Harry Mallon wrote: > I have quite a specific problem with find_path where > "find_path(IOKIT_INCLUDE_DIR "IOKit/pci/IOPCIDevice.h")" returns > "/System/Library/Frameworks/Kernel.framework/Headers/IOKit/pci" rather than >

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-15 Thread Eric Wing
(Ignore the last post. The last message sent accidentally before I was even close to done. Not sure why it sent. I must have accidentally discovered a hot key in Gmail. Everything is rewritten here.) Okay, I think I'm making some good progress. I got a trivial program built on Mac. I've now

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-15 Thread Eric Wing
Okay, I think I'm making some good progress. I got a trivial program built on Mac. I've now switched to Linux. I'm mostly there, but there are still some things that need to be done. More inline... https://github.com/ewmailing/CMake/tree/SwiftMakefile >> Anyway, I tried bumping up

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-13 Thread Eric Wing
> For the moment, I like swiftc over swift because it seems a lot > simpler. I hope this means the least changes for CMake right now. I need to correct myself on this. While I like swiftc for looking simpler, I'm actually thinking swift might be fewer changes since the file-by-file thing is what

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-13 Thread Eric Wing
>> If my hunch is correct, how do I tell CMake to ‘promote’ Swift as the >> correct tool? > > See the CMAKE__LINKER_PREFERENCE platform information variable. > There is also the LINKER_LANGUAGE target property. For C, C++, and > Fortran one generally chooses between C++ and Fortran to drive the >

Re: [cmake-developers] CMake alternative language

2016-01-14 Thread Eric Wing
I am hesitant to add more fuel to the fire for this discussion because it has been discussed many times before through the years and my sense is that this isn’t what Brad is really interested in pursuing. I encourage you search the mailing list history. I’ll try to summarize (off the top of my

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-18 Thread Eric Wing
On 1/15/16, Brad King <brad.k...@kitware.com> wrote: > On 01/15/2016 09:47 AM, Eric Wing wrote: >>> That is the same as for C++. See CMAKE_PARSE_IMPLICIT_LINK_INFO and >> >> I looked at this file, but I still havne't groked what I need to do >> with this y

Re: [cmake-developers] Drop support for older Xcode versions?

2016-02-06 Thread Eric Wing
On 2/6/16, Gregor Jasny via cmake-developers wrote: > Hello, > > I'd like to get your feedback on deprecating or dropping support for > older Xcode versions. During changes on the Xcode generator it gets > harder and harder to test against old and very old Xcode

Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-02-05 Thread Eric Wing
On 2/4/16, Brad King <brad.k...@kitware.com> wrote: > On 01/29/2016 03:16 PM, Eric Wing wrote: >> I need more guidance here. I'm not connecting the dots. >> My problem seems to be that the execute_process() in >> CMakeDetermineCompilerId.cmake is trying to invoke the co

Re: [cmake-developers] [ANNOUNCE] cmake-unit - A new unit testing framework for CMake

2016-01-29 Thread Eric Wing
On 1/29/16, Brad King wrote: > On 01/25/2016 11:01 AM, Sam Spilsbury wrote: >> Over the last two years I've been working on a new unit testing >> framework for CMake. I started this project because I've been writing >> some other fairly complex CMake modules and I kept

  1   2   >