Xiretza
5a257ae0ce
cmake: use message(WARNING) when dependencies are missing
преди 3 години
Xiretza
73488dce96
cmake: install palettes to DATADIR
преди 3 години
Xiretza
0a888e6baf
cmake: install headers as part of shared library
преди 3 години
Xiretza
63efb43444
cmake: deduplicate install directives
преди 3 години
Xiretza
e82e51fd94
cmake: use GNUInstallDirs
преди 3 години
Jon Beniston
17950dc47e
Rename library so lib isn't repeated on Linux
преди 3 години
Jon Beniston
fb6fb49929
Use static library for aptdec executable, to avoid having to set path to library
преди 3 години
Jon Beniston
4aca94f20f
Use INCLUDE_DIRs for libraries. Simplify conditions
преди 3 години
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 години
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 години
Xerbo
c757dc7614
Switch to argpase and move libaries into src/lib/
преди 4 години
Xerbo
68c0360b29
Add action for windows debug
преди 4 години
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 години
Xerbo
05f6ac2581
Fix naming in packaged builds and add full description
преди 4 години
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 години
Xerbo
7763148aea
More verbose output when building with CMake
преди 4 години
Xerbo
bb37bf0628
Palette search directorie, basic packaging support
преди 4 години
Xerbo
b8671a325f
Move source into src/
преди 4 години
Aang23
61db9ee3ed
Initial CMake support
преди 4 години