jacobwilliams/json-fortran — pull request #6 by zbeekman (2014-05-07 22:58:28+00:00)
Title: CMake build

I tried to test it pretty thoroughly on Mac and Linux. On Mac I tested with ifort beta 2015 and gfortran 4.9 stable. On linux I only tested with ifort 13.1.

The toughest bit was building the dynamic/shared libraries correctly and exporting the project so that other CMake projects can find them and link against them with the correct -rpath linker flag especially when DESTDIR is passed to `make install`

- I have yet to change the install directories for the mod files so that they live besides the library files
- I have yet to implement the `make check` automated testing
- As such, I am not compiling or linking the json_example.f90 program. I am planning on using this as the foundation of the automated testing by comparing the json files to std out and std out to the expected output. On linux you can even add valgrind to the testing.

Hopefully if you download CMake you can give it a spin pretty easily.