Xerbo
0c44daa165
Turn off -Werror
2 years ago
Xiretza
5a257ae0ce
cmake: use message(WARNING) when dependencies are missing
3 years ago
Xiretza
73488dce96
cmake: install palettes to DATADIR
3 years ago
Xiretza
0a888e6baf
cmake: install headers as part of shared library
3 years ago
Xiretza
63efb43444
cmake: deduplicate install directives
3 years ago
Xiretza
e82e51fd94
cmake: use GNUInstallDirs
3 years ago
Jon Beniston
17950dc47e
Rename library so lib isn't repeated on Linux
3 years ago
Jon Beniston
fb6fb49929
Use static library for aptdec executable, to avoid having to set path to library
3 years ago
Jon Beniston
4aca94f20f
Use INCLUDE_DIRs for libraries. Simplify conditions
3 years ago
Jon Beniston
dc3c02c76d
Add support for building a shared library (libaptdec).
Exported functions and types prefixed with apt_
Callback added for getsample, instead of calling named function.
Allow library to be built without libpng or libsndfile.
Add support for building with MSVC on Windows.
Fix a few MSVC compiler warnings.
Fix nonlinear radiance correction for NOAA19.
3 years ago
Xerbo
c3422dc634
Hopefully fix windows build
Run in debug now instead of release to ignore warnings and use a glob to find the DLL's instead of hard coding their paths
4 years ago
Xerbo
c757dc7614
Switch to argpase and move libaries into src/lib/
4 years ago
Xerbo
68c0360b29
Add action for windows debug
4 years ago
Xerbo
f1979a74d9
Windows build now working properly
Was opening PNG files (which are binary...) with `r` instead of `rb` which caused problems on windows
Added `libsndfile-1` back into FindLibSndFile.cmake, since it's needed
Package `sndfile.dll` instead of `libsndfile-1.dll` since thats what the binary looks for
4 years ago
Xerbo
05f6ac2581
Fix naming in packaged builds and add full description
4 years ago
Xerbo
06571464fe
Make release builds work
Since release builds had -Werror on, every warning is counted as an error, and the #pragmas that supressed that warning caused a wrning them selfs.
4 years ago
Xerbo
7763148aea
More verbose output when building with CMake
4 years ago
Xerbo
bb37bf0628
Palette search directorie, basic packaging support
4 years ago
Xerbo
b8671a325f
Move source into src/
4 years ago
Aang23
61db9ee3ed
Initial CMake support
4 years ago