Eric Haszlakiewicz
7fd74fc7a3
Merge pull request #312 from Tailmon/master
...
Fix CMake Build process improved for MinGW and MSYS2
2017-07-08 21:25:48 -04:00
Alexandru Ardelean
8f6ecbf37b
build,cmake: set C_STANDARD 99 property to libjson-c-static
...
Apply the same property as to json-c.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com >
2017-06-19 18:12:28 +03:00
Alexandru Ardelean
4fb2eefac2
build,cmake: rename libjson-c-static.a to libjson-c.a
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com >
2017-06-19 18:08:45 +03:00
Alexandru Ardelean
4b5e39c89c
build,cmake: generate both static and shared libjson
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com >
2017-05-03 12:00:38 +03:00
Alexandru Ardelean
cfbbb23141
build,cmake: add _GNU_SOURCE to CFLAGS
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com >
2017-05-03 11:36:45 +03:00
Pablo Sanabria
2cda677d06
Fix CMake Build process for MinGW and MSYS2
...
This fix includes some fixes for config.h.win32 that was generating
some compiling errors on MinGW64 and also fix CMakeLists.txt in order to
give better support to MinGW and MSYS2
2017-03-26 23:14:37 -03:00
Alexandru Ardelean
47f32a76ef
vasprintf_compat.h: spin-off this compat header ; use math_compat.h as template
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com >
2016-11-22 16:37:30 +02:00
Alexandru Ardelean
8cb86a583a
strdup_compat.h: re-spin this compat header ; use math_compat.h as template
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com >
2016-11-22 16:37:29 +02:00
Emmanuele Bassi
7601f20d70
Revert "compat/strdup.h: move common compat check for strdup() to own file"
...
This reverts commit aaba8c1080 .
This commit breaks builddir != srcdir build, but, more importantly, it
also adds a dependency on a header, "config.h", which is not installed
and it's supposed to be private — since it's generated at configuration
time and it's not meant to be used by projects compiling against a
library.
2016-11-07 20:51:11 +00:00
Alexandru Ardelean
0e91183300
json_pointer: add first revision
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com >
2016-11-04 09:51:36 +02:00
Alexandru Ardelean
aaba8c1080
compat/strdup.h: move common compat check for strdup() to own file
...
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com >
2016-11-03 15:51:33 +02:00
Steve Gerbino
c5c93724fe
Changed CMake variables and adding output for debugging
2016-09-26 00:19:46 -04:00
Steve Gerbino
0c749d96ea
Target C99 standards to get rid of warnings
2016-09-26 00:09:55 -04:00
Steve Gerbino
928858457b
Modified the execute_process commands
2016-09-25 23:08:39 -04:00
Steve Gerbino
bdead39f63
Changed PROJECT_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR to fix building when used as external project
2016-09-25 22:32:35 -04:00
Steve Gerbino
702b42eaf3
Modified CMakeLists.txt to use autotools to generate configuration for Unix systems
2016-09-25 22:03:56 -04:00
Steve Gerbino
43afcc0d99
Lowered CMake required version so that Travis CI is able to build, moved include folder to include/json-c to match the behavior of autotools
2016-09-25 18:49:34 -04:00
Steve Gerbino
fe941a26a3
Trailing slash seems necessary in the install command to get contents
2016-09-25 15:04:05 -04:00
Steve Gerbino
ab7c09dc8e
Forget DESTINATION in CMake install command
2016-09-25 14:59:38 -04:00
Steve Gerbino
34b4a490b1
We need to also install the generated configuration files
2016-09-25 14:57:15 -04:00
Steve Gerbino
989e39d995
Fixed typo in CMakeList.txt FILES_MATCHING
2016-09-25 14:46:33 -04:00
Steve Gerbino
e2ee223dc2
Added install instructions for CMake
2016-09-25 14:42:14 -04:00
Steve Gerbino
69f018c49e
Resolves json-c/json-c#271 by adding MacOS configuration files and modifies CMakeLists.txt to use them
2016-09-25 02:14:57 -04:00
Randy Armstrong
c5b5a984cd
Add Cmakefile
2016-08-24 22:49:16 -04:00