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

Update README.md #452

Closed
wants to merge 1 commit into from
Closed

Update README.md #452

wants to merge 1 commit into from

Conversation

bit-hemant
Copy link

No description provided.

@@ -72,7 +72,7 @@ $ make USE_VALGRIND=0 check # optionally skip using valgrind
Install prerequisites <a name="installprereq"></a>
-----------------------

If you are on a relatively modern system, you'll likely be able to install
If you are in a relatively modern system, you'll likely be able to install
Copy link
Member

Choose a reason for hiding this comment

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

"in" is a rather odd way to word this


For older OS's that don't have up-to-date version of the packages will
For older OS's that don't have an up-to-date version of the packages will
Copy link
Member

Choose a reason for hiding this comment

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

"don't have up-to-date versions" would be better

@@ -151,7 +151,7 @@ CMake can take a few options.

Variable | Type | Description
------------------|------|--------------
BUILD_SHARED_LIBS | Bool | The default build generates static library. Enable this to generate shared (dll/so) library.
BUILD_SHARED_LIBS | Bool | The default build generates a static library. Enable this to generate shared (dll/so) library.
Copy link
Member

Choose a reason for hiding this comment

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

er.. I'm not even sure this description is accurate, and if it is, then it shouldn't be. The default definitely should not be to just build a static library.

Copy link
Contributor

Choose a reason for hiding this comment

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

By default, cmake will build one or the other. If BUILD_SHARED_LIBS is ON, then cmake will create a shared library, but not a static library. There are ways to change that behavior though, with only minor editing of CMakeLists.txt apparently. Some info about it here: https://stackoverflow.com/questions/2152077/is-it-possible-to-get-cmake-to-build-both-a-static-and-shared-version-of-the-sam

@hawicz
Copy link
Member

hawicz commented Dec 12, 2018

I'm not merging this. Instead, in commit 6460466 I switch the build to create a dynamic library, and made a couple of tweaks to the README file.

@hawicz hawicz closed this Dec 12, 2018
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.

None yet

3 participants