It doesn't look like it's documented, at least in the command line
--help-variable.
It's a special case, which I think works for a lot of the build flag related
cache variables (though for a lot of the others, you probably need to put
values in e.g. a c_flag_overrides.cmake included by setting
On 31-Jul-15 19:44, Daniel Schepler wrote:
This seems to work for me:
set(CMAKE_BUILD_TYPE_INIT RelWithDebInfo)
By the way you need to set it before first 'project' command. Also it
will not have any effects for multi-config generators like Xcode or
Visual Studio.
--
Powered by www.kitware.co
On 31-Jul-15 19:43, Bill Hoffman wrote:
On 7/31/2015 12:33 PM, Ruslan Baratov wrote:
> rm -rf _builds
> cmake -H. -B_builds
> cmake -H. -B_builds -DA=ON
> grep '\' _builds/CMakeCache.txt
B:STRING=There is no A
I'm not saying cache is a bad idea, I'm just saying that whe
On Fri, Jul 31, 2015 at 11:44 AM, Daniel Schepler
wrote:
>> Here's another example from real life. Maybe I'm just being an idiot,
>> but this is what I had to do to set a default:
>>
>> IF(DEFINED CMAKE_BUILD_TYPE AND (NOT ${CMAKE_BUILD_TYPE} STREQUAL "None"))
>>SET(CMAKE_BUILD_TYPE ${CMAKE_B
Understood. I am doing it this way, I was just thinking maybe there was some
more sophisticated pattern matching that I could do (get all files matching
this regular expression) without looping through the whole list.
Thanks
-Nick
Nick Crast
Software Eng
This seems to work for me:
set(CMAKE_BUILD_TYPE_INIT RelWithDebInfo)
--
Daniel Schepler
From: CMake [cmake-boun...@cmake.org] on behalf of Dan Kegel [d...@kegel.com]
Sent: Friday, July 31, 2015 9:38 AM
To: Ruslan Baratov
Cc: cmake; Bill Hoffman
Subject: Re:
On Fri, Jul 31, 2015 at 11:43 AM, Bill Hoffman wrote:
> Something like:
> $CACHE{A}
>
> Then, it would never be confused with the the variable A. However, getting
> rid of the cache would not be something that could be done.
Having a cache for invariants is a good thing if it could be done witho
On 7/31/2015 12:33 PM, Ruslan Baratov wrote:
> rm -rf _builds
> cmake -H. -B_builds
> cmake -H. -B_builds -DA=ON
> grep '\' _builds/CMakeCache.txt
B:STRING=There is no A
I'm not saying cache is a bad idea, I'm just saying that when users hit
such kind of situations that'
On Fri, Jul 31, 2015 at 11:33 AM, Ruslan Baratov
wrote:
>>> I never use the GUI, and consider the cache an anti-feature there solely
>>> to support GUI users. It complicates my life, and I'd love to see it go.
>>
>> In what way do you think it is causing you trouble?
>
> Here is an example:
>
>
On 30-Jul-15 20:36, Bill Hoffman wrote:
On 7/30/2015 11:56 AM, Dan Kegel wrote:
I believe the latter, but not the former.
I never use the GUI, and consider the cache an anti-feature there solely
to support GUI users. It complicates my life, and I'd love to see it
go.
It is certainly not there
On Fri, Jul 31, 2015 at 2:05 AM, Nagy-Egri Máté Ferenc wrote:
> I agree that JSON looks better. I have no fetish about XML and I could be
> convinced on just about anything in the choice of the IR. The only important
> point is that it SHOULD EXIST and be well defined. Hooking all the
> generators
On Fri, Jul 31, 2015 at 6:13 AM, Crast, Nicholas <
nicholas.cr...@saabsensis.com> wrote:
> Well that's a way to do it, but there's not a way to do all of that in one
> shot?
>
>
make a macro to do it?
it's not like that's all that much to do...
files( glob file_list *)
foreach( file ${file_list}
Well that's a way to do it, but there's not a way to do all of that in one
shot?
Nick Crast
Software Engineer
Saab Sensis Corporation
Phone: 315-445-5703
Email: nicholas.cr...@saabsensis.com
-Original Message-
From: David Cole [mailto:dlrd...@aol
Hi guys,
I am currently working on some CMake build scripts that were designed for
crossplatform use. However they are not working perfectly under windows.
The isolated testcase looks like this: initialize a fortran project. CMake
always tries to use 'ifort' from Visual Studio as compiler but I d
>
>
> As for the GUI editor of a project, it has occured to me (and others too)
> that such a tool would be darn useful. If it were a seperate tool, I’d
> still use it just about every day, but you are correct that this feature
> would be best embedded into the IDE. I am actively engaged with the f
@all:
Thank you folks for the input and the active discussion (not shifting into
flame and troll wars).
@Dave&Dan:
I agree that JSON looks better. I have no fetish about XML and I could be
convinced on just about anything in the choice of the IR. The only important
point is that it SHOUL
On Thu, Jul 30, 2015 at 8:55 PM, Bill Somerville
wrote:
> On 30/07/2015 19:36, Rashad M wrote:
>
> Hi all,
>
> Hi Rashad
>
>
> We have a similar way here to get dll dependencies recursively and create
> a zip archive. Ideally, this could be integrated in cmake but not sure if
> that will be ok on
Okay, please forget this question. I misread the error message, and my example
had a type. The errors actually are generated in another macro which tries to
iterate over the source files of a target, and fails to find the generator
expression.
Best wishes,
Jens
--
Dr. Jens Auer | CGI | Softw
18 matches
Mail list logo