Generate premake files

This commit is contained in:
Joel Linn 2021-04-09 17:50:29 +02:00 committed by Rick Gibbed
parent dec06baf31
commit 3bdf3805fc
2 changed files with 402 additions and 0 deletions

166
libavcodec/premake5.lua Normal file
View File

@ -0,0 +1,166 @@
-----------------------------------------------------------------------
---- Automatically generated by generate_premake.py. Do not edit ! ----
-----------------------------------------------------------------------
project("libavcodec")
uuid("9DB2830C-D326-48ED-B4CC-08EA6A1B7272")
kind("StaticLib")
language("C")
ffmpeg_common()
filter("platforms:Windows")
buildoptions({
"/wd4003", -- not enough arguments for function-like macro invocation
"/wd4013", -- undefined; assuming extern returning int
"/wd4018", -- signed/unsigned mismatch
"/wd4028", -- formal parameter 3 different from declaration
"/wd4047", -- 'initializing': 'x' differs in levels of indirection from 'x'
"/wd4087",
"/wd4089", -- different types in actual parameter x, formal parameter x
"/wd4090", -- different const qualifiers
"/wd4101", -- unreferenced local variable
"/wd4113",
"/wd4133", -- incompatible types
"/wd4146", -- unary minus operator applied to unsigned type, result still unsigned
"/wd4244", -- conversion 'x' to 'x', possible loss of data
"/wd4267", -- 'initializing': conversion from 'x' to 'x', possible loss of data
"/wd4305", -- 'initializing': truncation from 'x' to 'x'
"/wd4334", -- result of 32-bit shift implicitly converted to 64 bits
"/wd4554", -- check operator precedence for possible error
"/wd4996", -- was declared deprecated
})
filter("platforms:Linux")
buildoptions({
"-Wno-error=implicit-const-int-float-conversion",
"-Wno-error=incompatible-pointer-types-discards-qualifiers",
"-Wno-error=switch",
"-Wno-error=incompatible-pointer-types",
"-Wno-error=pointer-sign",
"-Wno-error=parentheses",
"-Wno-error=string-plus-int",
"-Wno-error=deprecated-declarations",
})
filter {}
links({
"libavutil",
})
-- libavcodec/Makefile:
-- HEADERS:
files({
"ac3_parser.h",
"adts_parser.h",
"avcodec.h",
"avdct.h",
"avfft.h",
"bsf.h",
"codec.h",
"codec_desc.h",
"codec_id.h",
"codec_par.h",
"d3d11va.h",
"dirac.h",
"dv_profile.h",
"dxva2.h",
"jni.h",
"mediacodec.h",
"packet.h",
"qsv.h",
"vaapi.h",
"vdpau.h",
"version.h",
"videotoolbox.h",
"vorbis_parser.h",
"xvmc.h",
})
-- libavcodec/Makefile:
-- OBJS:
files({
"ac3_parser.c",
"adts_parser.c",
"allcodecs.c",
"avcodec.c",
"avdct.c",
"avpacket.c",
"avpicture.c",
"bitstream.c",
"bitstream_filter.c",
"bitstream_filters.c",
"bsf.c",
"codec_desc.c",
"codec_par.c",
"d3d11va.c",
"decode.c",
"dirac.c",
"dv_profile.c",
"encode.c",
"imgconvert.c",
"jni.c",
"mathtables.c",
"mediacodec.c",
"mpeg12framerate.c",
"options.c",
"parser.c",
"parsers.c",
"profiles.c",
"qsv_api.c",
"raw.c",
"utils.c",
"vorbis_parser.c",
"xiph.c",
})
-- libavcodec/Makefile:
-- OBJS-yes:
files({
"faandct.c",
"faanidct.c",
"fdctdsp.c",
"jfdctfst.c",
"jfdctint.c",
"idctdsp.c",
"simple_idct.c",
"jrevdct.c",
"mdct_float.c",
"mdct_fixed_32.c",
"sinewin.c",
"wma_freqs.c",
"wmaprodec.c",
"wma.c",
"wma_common.c",
"wmaprodec.c",
"wma.c",
"wma_common.c",
"null_bsf.c",
"file_open.c",
"pthread.c",
"pthread_slice.c",
"pthread_frame.c",
"avfft.c",
"fft_float.c",
"fft_fixed_32.c",
"fft_init_table.c",
})
-- libavcodec/aarch64/Makefile:
-- OBJS-yes:
files({
"aarch64/fft_init_aarch64.c",
"aarch64/idctdsp_init_aarch64.c",
})
-- libavcodec/x86/Makefile:
-- OBJS:
files({
"x86/constants.c",
})
-- libavcodec/x86/Makefile:
-- OBJS-yes:
files({
"x86/fdctdsp_init.c",
"x86/fft_init.c",
"x86/idctdsp_init.c",
})
-- libavcodec/x86/Makefile:
-- MMX-OBJS-yes:
files({
"x86/fdct.c",
})

236
libavutil/premake5.lua Normal file
View File

@ -0,0 +1,236 @@
-----------------------------------------------------------------------
---- Automatically generated by generate_premake.py. Do not edit ! ----
-----------------------------------------------------------------------
project("libavutil")
uuid("19216035-F781-4F15-B009-213B7E3A18AC")
kind("StaticLib")
language("C")
ffmpeg_common()
filter("platforms:Windows")
buildoptions({
"/wd4018", -- signed/unsigned mismatch
"/wd4028", -- formal parameter 3 different from declaration
"/wd4090", -- different const qualifiers
"/wd4101", -- unreferenced local variable
"/wd4133", -- incompatible types
"/wd4146", -- unary minus operator applied to unsigned type, result still unsigned
"/wd4244", -- conversion 'x' to 'x', possible loss of data
"/wd4267", -- 'initializing': conversion from 'x' to 'x', possible loss of data
"/wd4305", -- 'initializing': truncation from 'x' to 'x'
"/wd4333", -- right shift by too large amount, data loss
"/wd4554", -- check operator precedence for possible error
})
filter("platforms:Linux")
buildoptions({
"-Wno-error=implicit-const-int-float-conversion",
"-Wno-error=incompatible-pointer-types-discards-qualifiers",
"-Wno-error=switch",
"-Wno-error=incompatible-pointer-types",
"-Wno-error=logical-op-parentheses",
"-Wno-error=pointer-sign",
"-Wno-error=parentheses",
"-Wno-error=string-plus-int",
"-Wno-error=tautological-constant-out-of-range-compare",
})
filter {}
-- libavutil/Makefile:
-- HEADERS:
files({
"adler32.h",
"aes.h",
"aes_ctr.h",
"attributes.h",
"audio_fifo.h",
"avassert.h",
"avstring.h",
"avutil.h",
"base64.h",
"blowfish.h",
"bprint.h",
"bswap.h",
"buffer.h",
"cast5.h",
"camellia.h",
"channel_layout.h",
"common.h",
"cpu.h",
"crc.h",
"des.h",
"dict.h",
"display.h",
"dovi_meta.h",
"downmix_info.h",
"encryption_info.h",
"error.h",
"eval.h",
"fifo.h",
"file.h",
"frame.h",
"hash.h",
"hdr_dynamic_metadata.h",
"hmac.h",
"hwcontext.h",
"hwcontext_cuda.h",
"hwcontext_d3d11va.h",
"hwcontext_drm.h",
"hwcontext_dxva2.h",
"hwcontext_qsv.h",
"hwcontext_mediacodec.h",
"hwcontext_opencl.h",
"hwcontext_vaapi.h",
"hwcontext_videotoolbox.h",
"hwcontext_vdpau.h",
"hwcontext_vulkan.h",
"imgutils.h",
"intfloat.h",
"intreadwrite.h",
"lfg.h",
"log.h",
"macros.h",
"mathematics.h",
"mastering_display_metadata.h",
"md5.h",
"mem.h",
"motion_vector.h",
"murmur3.h",
"opt.h",
"parseutils.h",
"pixdesc.h",
"pixelutils.h",
"pixfmt.h",
"random_seed.h",
"rc4.h",
"rational.h",
"replaygain.h",
"ripemd.h",
"samplefmt.h",
"sha.h",
"sha512.h",
"spherical.h",
"stereo3d.h",
"threadmessage.h",
"time.h",
"timecode.h",
"timestamp.h",
"tree.h",
"twofish.h",
"version.h",
"video_enc_params.h",
"xtea.h",
"tea.h",
"tx.h",
"film_grain_params.h",
})
-- libavutil/Makefile:
-- ARCH_HEADERS:
files({
"bswap.h",
"intmath.h",
"intreadwrite.h",
"timer.h",
})
-- libavutil/Makefile:
-- BUILT_HEADERS:
files({
"avconfig.h",
"ffversion.h",
})
-- libavutil/Makefile:
-- OBJS:
files({
"adler32.c",
"aes.c",
"aes_ctr.c",
"audio_fifo.c",
"avstring.c",
"avsscanf.c",
"base64.c",
"blowfish.c",
"bprint.c",
"buffer.c",
"cast5.c",
"camellia.c",
"channel_layout.c",
"color_utils.c",
"cpu.c",
"crc.c",
"des.c",
"dict.c",
"display.c",
"dovi_meta.c",
"downmix_info.c",
"encryption_info.c",
"error.c",
"eval.c",
"fifo.c",
"file.c",
"file_open.c",
"float_dsp.c",
"fixed_dsp.c",
"frame.c",
"hash.c",
"hdr_dynamic_metadata.c",
"hmac.c",
"hwcontext.c",
"imgutils.c",
"integer.c",
"intmath.c",
"lfg.c",
"lls.c",
"log.c",
"log2_tab.c",
"mathematics.c",
"mastering_display_metadata.c",
"md5.c",
"mem.c",
"murmur3.c",
"opt.c",
"parseutils.c",
"pixdesc.c",
"pixelutils.c",
"random_seed.c",
"rational.c",
"reverse.c",
"rc4.c",
"ripemd.c",
"samplefmt.c",
"sha.c",
"sha512.c",
"slicethread.c",
"spherical.c",
"stereo3d.c",
"threadmessage.c",
"time.c",
"timecode.c",
"tree.c",
"twofish.c",
"utils.c",
"xga_font_data.c",
"xtea.c",
"tea.c",
"tx.c",
"tx_float.c",
"tx_double.c",
"tx_int32.c",
"video_enc_params.c",
"film_grain_params.c",
})
-- libavutil/aarch64/Makefile:
-- OBJS:
files({
"aarch64/cpu.c",
"aarch64/float_dsp_init.c",
})
-- libavutil/x86/Makefile:
-- OBJS:
files({
"x86/cpu.c",
"x86/fixed_dsp_init.c",
"x86/float_dsp_init.c",
"x86/imgutils_init.c",
"x86/lls_init.c",
})