Commit Graph

20 Commits

Author SHA1 Message Date
Even Rouault a8ca7c51f3 CMake: add stronger warnings for openjp2 lib/bin by default, and error out on declaration-after-statement
And remove occurences of unused arguments in src/lib/openjp2
2017-05-23 15:47:57 +02:00
Even Rouault d4e54e9f35 Add mechanisms to reformant and check code style (#128)
Use an internal version of astyle (astyle 3.0). Scripts taken from QGIS.
astyle.options from https://github.com/uclouvain/openjpeg/issues/128

scripts/prepare-commit.sh can be used locally to automatically reformat
edited files.

Travis-CI will run scripts/verify-indentation.sh to verify committed files.
2017-05-09 20:46:16 +02:00
Julien Malik 17a0a8a195 Use lowercase for cmake commands consistenly
Inspired from https://github.com/InsightSoftwareConsortium/ITK/blob/master/Utilities/Maintenance/HowToCreateTheCMakeCaseConversion.txt
This needs vim 7.3 and fails with vim 7.4

This also fixes a number of :
- missing empty line at end of files
- useless space at end of lines
2016-05-02 16:05:41 +02:00
mayeut 2c8ba10cc9 update script 2015-10-10 19:15:52 +02:00
mayeut 99c4376aed kdb copy 2015-10-10 18:58:26 +02:00
mayeut d60937922f correct warnings 2015-10-10 18:24:57 +02:00
mayeut f0a980ec16 verbose 2015-10-10 18:19:09 +02:00
mayeut cc9bf1d557 Use make under windows 2015-10-10 18:15:28 +02:00
mayeut 4560d270e0 Correct make script 2015-10-10 17:27:49 +02:00
mayeut f33f50126c Add OPJ_BINARY_DIR 2015-10-10 17:25:50 +02:00
mayeut 3d295431e6 Travis set ASan build to -O1 2015-09-12 20:21:52 +02:00
mayeut 1621df453d Travis error on new failures 2015-09-12 19:32:05 +02:00
mayeut 0b611c5250 Travis full matrix 2015-09-12 18:21:25 +02:00
mayeut cde7423958 Travis add mingw 2015-09-12 17:56:29 +02:00
mayeut fc131a1339 Travis ASan build 2015-09-12 16:36:19 +02:00
mayeut 82c238f504 Fix OPJ_CI_SKIP_TESTS 2015-09-12 15:52:13 +02:00
mayeut 52c36b4955 Add 32 bit build 2015-09-12 15:48:23 +02:00
mayeut cc2ae75450 Fix build with gcc 4.6.3 2015-09-12 05:50:57 +02:00
mayeut b97aadcf3e Fix travis build with make 2.8.7 2015-09-12 05:44:52 +02:00
mayeut 1e2dcaf7b3 Add ctest script 2015-09-12 05:26:19 +02:00