make sure the created .map files are correct.
Don't use list(APPEND), but use set(A "${A}newline").
It doesn't matter much, but I made sure the generated map file are indented correctly.
check_c_source_runs cannot be used when cross compiling.
check_c_source_compiles links an executable, so that can be used.
Create a WavPack::WavPack target.
With this change, wavpack can be used as:
Build cooledit and winamp plug-ins as module.
The main difference is no import library is generated, which is not needed as these libraries are supposed to be used with LoadLibraryA and not linked against at build time.
.map
files are correct. Don't uselist(APPEND)
, but useset(A "${A}newline")
. It doesn't matter much, but I made sure the generated map file are indented correctly.check_c_source_runs
cannot be used when cross compiling.check_c_source_compiles
links an executable, so that can be used.WavPack::WavPack
target. With this change, wavpack can be used as:LoadLibraryA
and not linked against at build time.