Re: [CMake] numerical option at compile time

2012-09-06 Thread Eric Noulard
2012/9/6 Michael Wild : > On 09/06/2012 04:15 PM, Jack Stalnaker wrote: >> Using autoconf, I could specify a numerical option using AC_ARG_ENABLE. >> This was useful for specifying a logging level at compile time. I could >> pass --enable-logging=8 to the configure script to enable deep logging. >>

Re: [CMake] numerical option at compile time

2012-09-06 Thread Michael Wild
On 09/06/2012 04:15 PM, Jack Stalnaker wrote: > Using autoconf, I could specify a numerical option using AC_ARG_ENABLE. > This was useful for specifying a logging level at compile time. I could > pass --enable-logging=8 to the configure script to enable deep logging. > Is there a way to do this wit

[CMake] numerical option at compile time

2012-09-06 Thread Jack Stalnaker
Using autoconf, I could specify a numerical option using AC_ARG_ENABLE. This was useful for specifying a logging level at compile time. I could pass --enable-logging=8 to the configure script to enable deep logging. Is there a way to do this with cmake? Seems like "option" only allows yes or no ans