Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeLists.txt: Always undefine NDEBUG when building LAIK. #149

Merged
merged 1 commit into from
Apr 16, 2018
Merged

CMakeLists.txt: Always undefine NDEBUG when building LAIK. #149

merged 1 commit into from
Apr 16, 2018

Conversation

AlexanderKurtz
Copy link
Contributor

When using CMake, the recommend way to get an optimized build is to do a
release build via -D CMAKE_BUILD_TYPE=Release. This adds -O3
but also -DNDEBUG, which unfortunately currently breaks LAIK (see
issue #92). Therefore, we now always undefine NDEBUG in the main
CMakeLists.txt file until LAIK is fixed to work with NDEBUG.

When using CMake, the recommend way to get an optimized build is to do a
release build via ```-D CMAKE_BUILD_TYPE=Release```. This adds ```-O3```
but also ```-DNDEBUG```, which unfortunately currently breaks LAIK (see
issue #92). Therefore, we now always undefine ```NDEBUG``` in the main
```CMakeLists.txt``` file until LAIK is fixed to work with ```NDEBUG```.
@weidendo weidendo merged commit 61471c8 into envelope-project:master Apr 16, 2018
@AlexanderKurtz AlexanderKurtz deleted the ndebug branch April 16, 2018 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants