Re: [CMake] set_if_not_set

2017-02-15 Thread Konstantin Tokarev
15.02.2017, 20:08, "Bill Newcomb" : > My top-level CMakeLists.txt files always end up with a lot of > > if(NOT_DEFINED foo) >  set(foo bar) > endif() > > things to allow people to pass interesting things on the command line or > to write their own "set this and that"

[CMake] set_if_not_set

2017-02-15 Thread Bill Newcomb
My top-level CMakeLists.txt files always end up with a lot of if(NOT_DEFINED foo) set(foo bar) endif() things to allow people to pass interesting things on the command line or to write their own "set this and that" CMakeLists.txt and include the top-level one. It would improve