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

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 package lists... Done

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 openssl. > > You can find the mor

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,

[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? Ar

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

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 > build.gradle since that is typical

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 CMa

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] How to codesign .msi from WIX/CPack?

2016-09-07 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 same as CPack (the

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

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) using something like the >

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 populate >> .../.framework/H

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 *.NIM source files are not the files

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 job is to generate the CMake s

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

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

2016-03-07 Thread Eric Wing
On 3/7/16, Eric Wing wrote: > 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

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 since I was wondering

[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, Xco

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

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 versions like 3 > and 4. > > Are th

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 -G Xcode’ does not >

Re: [CMake] XCode Generation Issue

2016-01-20 Thread Eric Wing
On 1/20/16, David Morsberger wrote: > >> On Jan 19, 2016, at 10:11 PM, Eric Wing wrote: >> >> 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 &g

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 CMakeOutput.log that should hav

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 ex

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 requir

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

2015-06-24 Thread Eric Wing
On 6/24/15, Ruslan Baratov via CMake 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 on the A

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

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

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

2015-04-29 Thread Eric Wing
On 4/25/15, David Hirvonen 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: > > https://github.com/headupinclouds/cm

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

2014-12-18 Thread Eric Wing
On 12/18/14, Radu Margarint 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 (vs lastKno

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] Copying shared libraries in a post-build step

2014-12-09 Thread Eric Wing
On 12/9/14, J Decker 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. Another proble

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

2014-12-09 Thread Eric Wing
On 12/9/14, Walter Gray 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, ect). I've got th

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

2014-11-09 Thread Eric Wing
On 11/7/14, Clinton Stimpson 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, a

[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

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

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 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 on-topic and check the CMake FA

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 w

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 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 Windows Phone simulator

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: http://www.cmake.org/Wiki/

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) 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 project. But when I add

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

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

2014-06-30 Thread Eric Wing
e source dir 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 wrote: > >> I need

[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: http://stackoverflow.com/questions

Re: [CMake] Cygwin drive paths are killing me

2014-06-16 Thread Eric Wing
On 6/14/14, David Cole 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 getting an Androi

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 sh.ex

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 h

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
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 Windo

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

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

2014-06-11 Thread Eric Wing
On 5/24/14, 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: >> http://www.kitware.com/blog/ho

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] 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 wrote: > On Fri, May 23, 2014 at 4:38 PM, Eric Wing wrote: >> On 5/23/14, Dan Kegel wrote: >>> You can add the directory containing the 3rd party DLLs to the global >>> PATH environment variable, I bet. >> >> ... I just want a >

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 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 different people a

[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
My project has lots of 3rd party .dlls. I can build my project just fine with CMake/Visual Studio. But when I try to debug/run within Visual Studio, it fails because my 3rd party .dlls are not in the same directory as where VS generated the .exe. I know I can manually copy all my .dlls and put the

[CMake] Mac @loader_path for @rpath questions

2014-05-23 Thread Eric Wing
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: http://www.kitware.com/blog/home/post/510 I see I am supposed to do: set(CMAKE_MACOSX_RPATH 1) set_target_properties(bar P

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 a

Re: [CMake] Linking to Mac OS X frameworks

2014-04-17 Thread Eric Wing
On 4/17/14, Aggelos Kolaitis 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. find_library() opts

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

2014-04-04 Thread Eric Wing
On 4/3/14, Clark Wang 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 > > Someone ever

Re: [CMake] Building a Mac OS X framework

2014-03-13 Thread Eric Wing
On 3/10/14, 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 handle that in my p

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 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. > > T

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

Re: [CMake] So Long

2013-01-30 Thread Eric Wing
On 1/30/13, David Cole 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 Neocis Inc. >

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 >> 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 sufficient. Tho

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

2012-11-07 Thread Eric Wing
On 11/4/12, lzprgmr 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: http://playcontrol.net/e

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

2012-09-18 Thread Eric Wing
On 9/18/12, Stefan Reuschl 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 projects. But someday I wou

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

2012-09-18 Thread Eric Wing
On 9/18/12, Doug 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 allowed on iOS so g

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

2012-09-16 Thread Eric Wing
On 9/16/12, Michael Jackson wrote: > On Sep 15, 2012, at 1:32 PM, Andreas Pakulat wrote: > >> Hi, >> >> On Sat, Sep 15, 2012 at 12:46 PM, Loaden wrote: >>> http://www.cmake.org/Wiki/CMake_Useful_Variables >>> UNIX is TRUE on all UNIX-like OS's, including Apple OS X and CygWin WIN32 >>>

Re: [CMake] New Module: FindSDL_gfx.cmake

2011-07-14 Thread Eric Wing
On 7/6/11, David Cole 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 is t

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