Re: if vs. ifdef in Makefile.am

Jan Engelhardt <[email protected]>
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
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.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.