Skip to content

Commit

Permalink
premake5: add alac plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba160 committed Sep 8, 2019
1 parent bddecb2 commit ee678f2
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
26 changes: 26 additions & 0 deletions premake5-win.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,32 @@ project "aac_plugin"
links { "faad" }
end

if option ("plugin-alac") then
project "alac_plugin"
kind "SharedLib"
language "C"
targetdir "bin/%{cfg.buildcfg}/plugins"
targetprefix ""
targetname "alac"

files {
"plugins/alac/alac_plugin.c",
"plugins/alac/alac.c",
"plugins/alac/decomp.h",
"plugins/alac/demux.c",
"plugins/alac/demux.h",
"plugins/alac/stream.c",
"plugins/alac/stream.h",
"shared/mp4tagutil.h",
"shared/mp4tagutil.c",
"plugins/libmp4ff/*.h",
"plugins/libmp4ff/*.c"
}

defines { "USE_MP4FF=1", "USE_TAGGING=1" }
links { "faad" }
end

if option ("plugin-flac", "flac ogg") then
project "flac_plugin"
kind "SharedLib"
Expand Down
24 changes: 24 additions & 0 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,30 @@ project "aac_plugin"
defines { "USE_MP4FF=1", "USE_TAGGING=1" }
links { "faad" }

project "alac_plugin"
kind "SharedLib"
language "C"
targetdir "bin/%{cfg.buildcfg}/plugins"
targetprefix ""
targetname "alac"

files {
"plugins/alac/alac_plugin.c",
"plugins/alac/alac.c",
"plugins/alac/decomp.h",
"plugins/alac/demux.c",
"plugins/alac/demux.h",
"plugins/alac/stream.c",
"plugins/alac/stream.h",
"shared/mp4tagutil.h",
"shared/mp4tagutil.c",
"plugins/libmp4ff/*.h",
"plugins/libmp4ff/*.c"
}

defines { "USE_MP4FF=1", "USE_TAGGING=1" }
links { "faad" }

project "flac_plugin"
kind "SharedLib"
language "C"
Expand Down

0 comments on commit ee678f2

Please sign in to comment.