Skip to content

Release version 1.0.0#66

Merged
FSMaxB merged 45 commits into
masterfrom
v1
Nov 17, 2016
Merged

Release version 1.0.0#66
FSMaxB merged 45 commits into
masterfrom
v1

Conversation

@FSMaxB
Copy link
Copy Markdown
Collaborator

@FSMaxB FSMaxB commented Nov 15, 2016

Version 1.0.0 is finally finished.

Now is the time for review before I merge the changes into master and tag the release.

FSMaxB and others added 30 commits November 14, 2016 19:14
Library names:
libcJSON -> libcjson
libcJSON_utils -> libcjson_utils
We configure and install a pkg-config file so that our compilation and
linking flags can be more easily found using pkg-config.
This is also what other projects are doing.
These files will allow cmake based projects to find the
library using find_package(cJSON). If successful, they can
use CJSON_LIBRARIES and CJSON_INCLUDE_DIRS.

Other build systems can use a similar approach to pkg-config:
cmake --find-package -DNAME=cJSON -DCOMPILER_ID=GNU -DLANGUAGE=C  -DCMAKE_PREFIX_PATH=<path-to-non-sytem-installation-path> -DMODE=LINK

or with MODE COMPILE or EXISTS.
Fix library and include paths in pkg-config, CMakeLists.txt and the
CMake config files.
The prior approach was exporting paths from the build environment.
This is for compatibility reasons with old CMake 2.8 versions.
@FSMaxB FSMaxB merged commit aafb64a into master Nov 17, 2016
@FSMaxB FSMaxB deleted the v1 branch November 17, 2016 01:19
@FSMaxB FSMaxB restored the v1 branch November 17, 2016 01:19
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