Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
define dtAssert and rcAssert as DAEMON_ASSERT #130
The idea is to define
referenced this pull request
Oct 24, 2018
Defining the assert this way won't work. It worked for crunch decompression because it was a header-only library. Recast has its own .cpp files, each one of which must have the assert definition supplied somehow when it is built.
The normal way to add a #define without editing the code is to use compiler flags. But this is also not so simple to apply since DAEMON_ASSERT will not be defined without including Daemon headers.
A bit different than that.