Re: [CMake] Changing the the current generator in CMake GUI

2016-01-18 Thread Bill Hoffman
On 1/15/2016 7:19 PM, mozzis wrote: Well, CMAKE is the thing that is conflating this idea of a “generator” (which is clearly a concept in CMAKE’s own domain of “build configuration generator”) with the idea of “platform” or “architecture” (which is a concept in the domain of certain kinds of buil

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-16 Thread iosif neitzke
http://reactiongifs.me/krysten-ritter-eyeroll/ -- 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 information on each offering, please visit: CMak

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-15 Thread mozzis
Well, CMAKE is the thing that is conflating this idea of a "generator" (which is clearly a concept in CMAKE's own domain of "build configuration generator") with the idea of "platform" or "architecture" (which is a concept in the domain of certain kinds of build tools, such as a C compiler.) It

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-15 Thread Greg Marr
Bill Hoffman wrote: >On 1/15/2016 2:41 PM, Greg Marr wrote: >> You can do both in the same solution/projects with the Microsoft fork >> of CMake, but it's not a general solution, and it doesn't handle >> different settings for 32 bit and 64 bit. > >Yes, and things like CMAKE_SIZEOF_VOID_P would no

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-15 Thread Bill Hoffman
On 1/15/2016 2:41 PM, Greg Marr wrote: You can do both in the same solution/projects with the Microsoft fork of CMake, but it's not a general solution, and it doesn't handle different settings for 32 bit and 64 bit. Because of that, they're "not pushing too hard" for it to be in mainline CMake.

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-15 Thread Greg Marr
Bill Hoffman wrote: You can do it by changing the CMakeCache.txt file, but it won't work in the general case. You should put them in separate directories: build-32 and build-64. You can build both 32 and 64 from the same SOURCE tree, just not the same build tree. build

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-15 Thread Bill Hoffman
On 1/15/2016 11:26 AM, mozzis wrote: You can not change the generator. It is better to remove the entire build tree. Out of source builds are a best practice with CMake. Once a build tree has been configured with one compiler, it must be completely removed to change to a new compiler Clearly

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-15 Thread J Decker
On Fri, Jan 15, 2016 at 8:26 AM, mozzis wrote: > > Clearly, "can not" is incorrect, since I did. "must be" seems also > incorrect. Changing Generator is not exactly the same idea of what you're doing 1) If you actually chaned from VS 2010 to VS2012 or more radically to MinGW Makefiles and redid th

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-15 Thread mozzis
>You can not change the generator. It is better to remove the entire >build tree. Out of source builds are a best practice with CMake. Once >a build tree has been configured with one compiler, it must be >completely removed to change to a new compiler Clearly, "can not" is incorrect, since I

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-14 Thread Bill Hoffman
On 1/14/2016 3:02 PM, mozzis wrote: I was able to edit CMakeCache.txt and CPackConfig.cmake (with CMake GUI closed) I changed CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010 Win64 to CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010 and then in general looked for the string "64" and made app

Re: [CMake] Changing the the current generator in CMake GUI

2016-01-14 Thread mozzis
I was able to edit CMakeCache.txt and CPackConfig.cmake (with CMake GUI closed) I changed CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010 Win64 to CMAKE_GENERATOR:INTERNAL=Visual Studio 10 2010 and then in general looked for the string "64" and made appropriate changes. I then started CMake

Re: [CMake] Changing the the current generator in CMake GUI

2014-07-14 Thread Bill Hoffman
On 7/12/2014 8:17 AM, Bill Hoffman wrote: You can use clear cache. Just to be clear. If you want to change the current generator, you can use File -> Delete Cache. Then you will be able to select a new generator for that directory. I guess the GUI could be change to have a change generator bu

Re: [CMake] Changing the the current generator in CMake GUI

2014-07-12 Thread Bill Hoffman
You can use clear cache. On Jul 12, 2014 5:05 AM, "Edward Diener" wrote: > On 7/11/2014 11:01 AM, Bill Hoffman wrote: > >> On 7/11/2014 10:33 AM, Edward Diener wrote: >> >>> Shouldn't there be a way to change the current generator in the CMake >>> GUI ? It seems like I can only do this if I choos

Re: [CMake] Changing the the current generator in CMake GUI

2014-07-12 Thread Edward Diener
On 7/11/2014 11:01 AM, Bill Hoffman wrote: On 7/11/2014 10:33 AM, Edward Diener wrote: Shouldn't there be a way to change the current generator in the CMake GUI ? It seems like I can only do this if I choose a new "Where to build the binaries" path. But what if I just want to change the current

Re: [CMake] Changing the the current generator in CMake GUI

2014-07-11 Thread Bill Hoffman
On 7/11/2014 10:33 AM, Edward Diener wrote: Shouldn't there be a way to change the current generator in the CMake GUI ? It seems like I can only do this if I choose a new "Where to build the binaries" path. But what if I just want to change the current generator to something else using the curren

Re: [CMake] Changing the the current generator in CMake GUI

2014-07-11 Thread John Drescher
On Fri, Jul 11, 2014 at 10:33 AM, Edward Diener wrote: > Shouldn't there be a way to change the current generator in the CMake GUI ? > It seems like I can only do this if I choose a new "Where to build the > binaries" path. But what if I just want to change the current generator to > something els

[CMake] Changing the the current generator in CMake GUI

2014-07-11 Thread Edward Diener
Shouldn't there be a way to change the current generator in the CMake GUI ? It seems like I can only do this if I choose a new "Where to build the binaries" path. But what if I just want to change the current generator to something else using the current outpath path ? -- Powered by www.kitwa