Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Update cmake files to use libevhtp as subdirectory in another project #33

Merged
merged 3 commits into from
Sep 20, 2017

Conversation

vvromanov
Copy link
Contributor

No description provided.

@@ -7,7 +7,7 @@ set(PROJECT_PATCH_VERSION 11)
set(PROJECT_VERSION ${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT_PATCH_VERSION})

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPROJECT_VERSION=${PROJECT_VERSION} -Wall")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -ggdb3")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -ggdb3 -fsanitize=address -fsanitize=leak -fstack-protector-strong")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably check to make sure these compiler opts are available before setting them. Also, these flags seem like they would be better off in -DCMAKE_BUILD_TYPE=Production.

Thoughts?

@NathanFrench NathanFrench merged commit 74537f5 into Yellow-Camper:develop Sep 20, 2017
NathanFrench added a commit that referenced this pull request Sep 20, 2017
@NathanFrench
Copy link
Collaborator

Made some minor changes, thank you very much!

@NathanFrench NathanFrench added this to the v1.2.13 milestone Nov 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants