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

Add CPPREST_EXCLUDE_WEBSOCKETS option to CMake #30

Merged
merged 5 commits into from
Dec 9, 2015

Conversation

ras0219
Copy link
Contributor

@ras0219 ras0219 commented Dec 9, 2015

This PR adds the cmake option "CPPREST_EXCLUDE_WEBSOCKETS" which (on Windows) will remove all OpenSSL and Boost dependencies.

Ex:

PS C:\src\cpprestsdk\build.rel> cmake ../Release -DCPPREST_EXCLUDE_WEBSOCKETS=1 -DCMAKE_BUILD_TYPE=Release

Additionally, this enables non-VS generators on Windows (at the cost of disabling PCH).

@msftclas
Copy link

msftclas commented Dec 9, 2015

Hi @ras0219, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

message("-- websocketpp not found, using the embedded version")
endif(WEBSOCKETPP_CONFIG AND WEBSOCKETPP_CONFIG_VERSION)
else()
set(Casablanca_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include)
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we setting this again in the else() part?

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.

3 participants