automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: if vs. ifdef in Makefile.am


From: Jan Engelhardt
Subject: Re: if vs. ifdef in Makefile.am
Date: Fri, 3 Mar 2023 10:33:03 +0100 (CET)
User-agent: Alpine 2.25 (LSU 592 2021-09-18)

On Friday 2023-03-03 09:36, ljh wrote:
>Jacob Bachmeyer wrote:
>>$ (mkdir test-build; cd ./test-build && ../src/configure --enable-assert ...) 
>>                                         
>>$ (mkdir release-build; cd ./release-build && ../src/configure 
>>--disable-assert ...)                                   
>
>It seems the other project is on the right way.
>
># cmake -S . -B debug_dir -DCMAKE_BUILD_TYPE=Debug
># cmake -S . -B release_dir -DCMAKE_BUILD_TYPE= Release
>
>I do not know if Autotools can be used as easily like this?

Of course it can. You even replied to the mail! (So maybe read it?)


(--disable-assert could be seen as the stand-in for CMAKE_BUILD_TYPE.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]