Thanks to ian for prodding.
What do people think of automatically adding BOOL where needed in
CMAKE_ARGS, something along the lines of the following construct:
ARGS=-DFLAG1=ON -DFLAG2:BOOL=ON -DFLAG3=ON -DFLAG4=OFF
test:
echo ${ARGS:S/=ON/:BOOL=ON/g:S/=OFF/:BOOL=OFF/g:S/:BOOL:BOOL/:BOOL/
Oh actually we don't even need that... :ON/:OFF are implied, I think,
looking at various cmake parts.
On Thu, Jul 6, 2023 at 11:11 AM Marc Espie wrote:
>
> Thanks to ian for prodding.
>
> What do people think of automatically adding BOOL where needed in
> CMAKE_ARGS, something along the lines of
On 2023/07/06 11:11, Marc Espie wrote:
> Thanks to ian for prodding.
>
> What do people think of automatically adding BOOL where needed in
> CMAKE_ARGS, something along the lines of the following construct:
>
> ARGS=-DFLAG1=ON -DFLAG2:BOOL=ON -DFLAG3=ON -DFLAG4=OFF
>
> test:
> echo ${ARG
On Thu Jul 06, 2023 at 11:11:51AM +0200, Marc Espie wrote:
> Thanks to ian for prodding.
>
> What do people think of automatically adding BOOL where needed in
> CMAKE_ARGS, something along the lines of the following construct:
>
> ARGS=-DFLAG1=ON -DFLAG2:BOOL=ON -DFLAG3=ON -DFLAG4=OFF
>
> test: