Re: [CMake] How to determine the compiler used outside of cmake

2013-05-03 Thread Chuck Atkins
:* Thursday, May 02, 2013 12:16 AM *To:* Miller, Frank *Cc:* cmake@cmake.org *Subject:* Re: [CMake] How to determine the compiler used outside of cmake ** ** The compiler does show up in my cache: CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++, but that doesn't solve your issue. What is the bigger

Re: [CMake] How to determine the compiler used outside of cmake

2013-05-02 Thread Miller, Frank
would have come around to your suggestion on my own. Thanks again, Frank From: m.hergarden [mailto:m.hergar...@euphoria-it.nl] Sent: Thursday, May 02, 2013 12:16 AM To: Miller, Frank Cc: cmake@cmake.org Subject: Re: [CMake] How to determine the compiler used outside of cmake The compiler does show

Re: [CMake] How to determine the compiler used outside of cmake

2013-05-02 Thread Miller, Frank
...@cmake.org] On Behalf Of Miller, Frank Sent: Thursday, May 02, 2013 9:51 AM To: m.hergar...@euphoria-it.nl Cc: cmake@cmake.org Subject: Re: [CMake] How to determine the compiler used outside of cmake Interesting. I am running a very recent version (2.8.10.20130415) built from git. Perhaps

[CMake] How to determine the compiler used outside of cmake

2013-05-01 Thread Miller, Frank
Greetings, Given a configured build tree, I would like to determine the c++ compiler used without reconfiguring. I expected the CMAKE_CXX_COMPILER variable would be in the CMakeCache.txt but I was wrong. I tried to run a simple cmake script with 'cmake -P' and print the value of

Re: [CMake] How to determine the compiler used outside of cmake

2013-05-01 Thread m . hergarden
The compiler does show up in my cache: CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++, but that doesn't solve your issue. What is the bigger problem you are solving? If you really really need it in the cache, you can always write a variable yourself to make sure