2
0
mirror of https://github.com/rehlds/revoice.git synced 2025-03-03 17:15:25 +03:00

Reorganize project structure according to 'The Pitchfork Layout'

This commit is contained in:
the_hunter 2025-02-22 22:25:47 +02:00 committed by the_hunter
parent ac92a1fbc8
commit 46f2ba7e69
607 changed files with 611 additions and 593 deletions

View File

@ -159,9 +159,9 @@ include("cmake/CompileOptions.cmake")
# Subdirectories # Subdirectories
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
add_subdirectory("dep/speex") add_subdirectory("external/speex")
add_subdirectory("dep/silk") add_subdirectory("external/silk")
add_subdirectory("dep/opus") add_subdirectory("external/opus")
add_subdirectory("dep/rehlsdk") add_subdirectory("external/rehlsdk")
add_subdirectory("dep/metamod") add_subdirectory("external/metamod")
add_subdirectory("revoice") add_subdirectory("revoice")

View File

@ -1,280 +0,0 @@
#-------------------------------------------------------------------------------
# Project Definition
#-------------------------------------------------------------------------------
project("Opus")
#-------------------------------------------------------------------------------
# Target Definition
#-------------------------------------------------------------------------------
set(TARGET_NAME "opus")
set(TARGET_ALIAS "Opus::${TARGET_NAME}")
add_library("${TARGET_NAME}")
add_library("${TARGET_ALIAS}" ALIAS "${TARGET_NAME}")
#-------------------------------------------------------------------------------
# Source Files
#-------------------------------------------------------------------------------
target_sources("${TARGET_NAME}"
PUBLIC
"include/opus_custom.h"
"include/opus_defines.h"
"include/opus_multistream.h"
"include/opus_types.h"
"include/opus.h"
PRIVATE
"src/analysis.c"
"src/analysis.h"
"src/mlp_data.c"
"src/mlp.c"
"src/mlp.h"
"src/opus_decoder.c"
"src/opus_encoder.c"
"src/opus_multistream_decoder.c"
"src/opus_multistream_encoder.c"
"src/opus_multistream.c"
"src/opus_private.h"
"src/opus.c"
"src/repacketizer.c"
"src/tansig_table.h"
"celt/_kiss_fft_guts.h"
"celt/arch.h"
"celt/bands.c"
"celt/bands.h"
"celt/celt_decoder.c"
"celt/celt_encoder.c"
"celt/celt_lpc.c"
"celt/celt_lpc.h"
"celt/celt.c"
"celt/celt.h"
"celt/cpu_support.h"
"celt/cwrs.c"
"celt/cwrs.h"
"celt/ecintrin.h"
"celt/entcode.c"
"celt/entcode.h"
"celt/entdec.c"
"celt/entdec.h"
"celt/entenc.c"
"celt/entenc.h"
"celt/fixed_debug.h"
"celt/fixed_generic.h"
"celt/float_cast.h"
"celt/kiss_fft.c"
"celt/kiss_fft.h"
"celt/laplace.c"
"celt/laplace.h"
"celt/mathops.c"
"celt/mathops.h"
"celt/mdct.c"
"celt/mdct.h"
"celt/mfrngcod.h"
"celt/modes.c"
"celt/modes.h"
"celt/os_support.h"
"celt/pitch.c"
"celt/pitch.h"
"celt/quant_bands.c"
"celt/quant_bands.h"
"celt/rate.c"
"celt/rate.h"
"celt/stack_alloc.h"
"celt/static_modes_fixed_arm_ne10.h"
"celt/static_modes_fixed.h"
"celt/static_modes_float_arm_ne10.h"
"celt/static_modes_float.h"
"celt/vq.c"
"celt/vq.h"
"celt/x86/celt_lpc_sse.c"
"celt/x86/celt_lpc_sse.h"
"celt/x86/pitch_sse.c"
"celt/x86/pitch_sse.h"
"celt/x86/pitch_sse2.c"
"celt/x86/pitch_sse4_1.c"
"celt/x86/x86_celt_map.c"
"celt/x86/x86cpu.c"
"celt/x86/x86cpu.h"
"silk/A2NLSF.c"
"silk/ana_filt_bank_1.c"
"silk/API.h"
"silk/biquad_alt.c"
"silk/bwexpander_32.c"
"silk/bwexpander.c"
"silk/check_control_input.c"
"silk/CNG.c"
"silk/code_signs.c"
"silk/control_audio_bandwidth.c"
"silk/control_codec.c"
"silk/control_SNR.c"
"silk/control.h"
"silk/debug.c"
"silk/debug.h"
"silk/dec_API.c"
"silk/decode_core.c"
"silk/decode_frame.c"
"silk/decode_indices.c"
"silk/decode_parameters.c"
"silk/decode_pitch.c"
"silk/decode_pulses.c"
"silk/decoder_set_fs.c"
"silk/define.h"
"silk/enc_API.c"
"silk/encode_indices.c"
"silk/encode_pulses.c"
"silk/errors.h"
"silk/gain_quant.c"
"silk/HP_variable_cutoff.c"
"silk/init_decoder.c"
"silk/init_encoder.c"
"silk/Inlines.h"
"silk/inner_prod_aligned.c"
"silk/interpolate.c"
"silk/lin2log.c"
"silk/log2lin.c"
"silk/LP_variable_cutoff.c"
"silk/LPC_analysis_filter.c"
"silk/LPC_inv_pred_gain.c"
"silk/MacroCount.h"
"silk/MacroDebug.h"
"silk/macros.h"
"silk/main.h"
"silk/NLSF_decode.c"
"silk/NLSF_del_dec_quant.c"
"silk/NLSF_encode.c"
"silk/NLSF_stabilize.c"
"silk/NLSF_unpack.c"
"silk/NLSF_VQ_weights_laroia.c"
"silk/NLSF_VQ.c"
"silk/NLSF2A.c"
"silk/NSQ_del_dec.c"
"silk/NSQ.c"
"silk/NSQ.h"
"silk/pitch_est_defines.h"
"silk/pitch_est_tables.c"
"silk/PLC.c"
"silk/PLC.h"
"silk/process_NLSFs.c"
"silk/quant_LTP_gains.c"
"silk/resampler_down2_3.c"
"silk/resampler_down2.c"
"silk/resampler_private_AR2.c"
"silk/resampler_private_down_FIR.c"
"silk/resampler_private_IIR_FIR.c"
"silk/resampler_private_up2_HQ.c"
"silk/resampler_private.h"
"silk/resampler_rom.c"
"silk/resampler_rom.h"
"silk/resampler_structs.h"
"silk/resampler.c"
"silk/shell_coder.c"
"silk/sigm_Q15.c"
"silk/SigProc_FIX.h"
"silk/sort.c"
"silk/stereo_decode_pred.c"
"silk/stereo_encode_pred.c"
"silk/stereo_find_predictor.c"
"silk/stereo_LR_to_MS.c"
"silk/stereo_MS_to_LR.c"
"silk/stereo_quant_pred.c"
"silk/structs.h"
"silk/sum_sqr_shift.c"
"silk/table_LSF_cos.c"
"silk/tables_gain.c"
"silk/tables_LTP.c"
"silk/tables_NLSF_CB_NB_MB.c"
"silk/tables_NLSF_CB_WB.c"
"silk/tables_other.c"
"silk/tables_pitch_lag.c"
"silk/tables_pulses_per_block.c"
"silk/tables.h"
"silk/tuning_parameters.h"
"silk/typedef.h"
"silk/VAD.c"
"silk/VQ_WMat_EC.c"
"silk/float/apply_sine_window_FLP.c"
"silk/float/autocorrelation_FLP.c"
"silk/float/burg_modified_FLP.c"
"silk/float/bwexpander_FLP.c"
"silk/float/corrMatrix_FLP.c"
"silk/float/encode_frame_FLP.c"
"silk/float/energy_FLP.c"
"silk/float/find_LPC_FLP.c"
"silk/float/find_LTP_FLP.c"
"silk/float/find_pitch_lags_FLP.c"
"silk/float/find_pred_coefs_FLP.c"
"silk/float/inner_product_FLP.c"
"silk/float/k2a_FLP.c"
"silk/float/levinsondurbin_FLP.c"
"silk/float/LPC_analysis_filter_FLP.c"
"silk/float/LPC_inv_pred_gain_FLP.c"
"silk/float/LTP_analysis_filter_FLP.c"
"silk/float/LTP_scale_ctrl_FLP.c"
"silk/float/main_FLP.h"
"silk/float/noise_shape_analysis_FLP.c"
"silk/float/pitch_analysis_core_FLP.c"
"silk/float/prefilter_FLP.c"
"silk/float/process_gains_FLP.c"
"silk/float/regularize_correlations_FLP.c"
"silk/float/residual_energy_FLP.c"
"silk/float/scale_copy_vector_FLP.c"
"silk/float/scale_vector_FLP.c"
"silk/float/schur_FLP.c"
"silk/float/SigProc_FLP.h"
"silk/float/solve_LS_FLP.c"
"silk/float/sort_FLP.c"
"silk/float/structs_FLP.h"
"silk/float/warped_autocorrelation_FLP.c"
"silk/float/wrappers_FLP.c"
)
#-------------------------------------------------------------------------------
# Include Directories
#-------------------------------------------------------------------------------
target_include_directories("${TARGET_NAME}"
PUBLIC
"${PROJECT_SOURCE_DIR}/include"
"${PROJECT_SOURCE_DIR}/celt"
"${PROJECT_SOURCE_DIR}/silk"
"${PROJECT_SOURCE_DIR}/silk/float"
)
#-------------------------------------------------------------------------------
# Target Properties
#-------------------------------------------------------------------------------
if(NOT WIN32)
set_target_properties("${TARGET_NAME}"
PROPERTIES
# Disable IPO as it causes some warnings
INTERPROCEDURAL_OPTIMIZATION OFF
INTERPROCEDURAL_OPTIMIZATION_MINSIZEREL OFF
INTERPROCEDURAL_OPTIMIZATION_RELEASE OFF
INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO OFF
)
endif()
#-------------------------------------------------------------------------------
# Compile Definitions
#-------------------------------------------------------------------------------
target_compile_definitions("${TARGET_NAME}"
PRIVATE
OPUS_BUILD
USE_ALLOCA
)
#-------------------------------------------------------------------------------
# Compile Options
#-------------------------------------------------------------------------------
target_compile_options("${TARGET_NAME}"
PRIVATE
$<IF:$<CXX_COMPILER_ID:MSVC>,/W0,-w>
)

View File

@ -1,177 +0,0 @@
#-------------------------------------------------------------------------------
# Project Definition
#-------------------------------------------------------------------------------
project("ReHLSDK")
#-------------------------------------------------------------------------------
# Target Definition
#-------------------------------------------------------------------------------
set(TARGET_NAME "rehlsdk")
set(TARGET_ALIAS "ReHLSDK::${TARGET_NAME}")
add_library("${TARGET_NAME}" INTERFACE)
add_library("${TARGET_ALIAS}" ALIAS "${TARGET_NAME}")
#-------------------------------------------------------------------------------
# Source Files
#-------------------------------------------------------------------------------
target_sources("${TARGET_NAME}"
INTERFACE
"common/BaseSystemModule.h"
"common/beamdef.h"
"common/cl_entity.h"
"common/com_model.h"
"common/con_nprint.h"
"common/const.h"
"common/crc.h"
"common/cvardef.h"
"common/demo_api.h"
"common/director_cmds.h"
"common/dlight.h"
"common/dll_state.h"
"common/entity_state.h"
"common/entity_types.h"
"common/enums.h"
"common/event_api.h"
"common/event_args.h"
"common/event_flags.h"
"common/hltv.h"
"common/IAdminServer.h"
"common/IBaseSystem.h"
"common/IDemoPlayer.h"
"common/IEngineWrapper.h"
"common/IGameServerData.h"
"common/in_buttons.h"
"common/IObjectContainer.h"
"common/ISystemModule.h"
"common/IVGuiModule.h"
"common/ivoicetweak.h"
"common/kbutton.h"
"common/mathlib.h"
"common/md5.h"
"common/net_api.h"
"common/netadr.h"
"common/netapi.h"
"common/nowin.h"
"common/ObjectDictionary.h"
"common/ObjectList.h"
"common/parsemsg.h"
"common/particledef.h"
"common/pmtrace.h"
"common/port.h"
"common/qfont.h"
"common/qlimits.h"
"common/quakedef.h"
"common/r_efx.h"
"common/r_studioint.h"
"common/ref_params.h"
"common/screenfade.h"
"common/Sequence.h"
"common/SteamAppStartUp.h"
"common/SteamCommon.h"
"common/studio_event.h"
"common/textconsole.h"
"common/TextConsoleUnix.h"
"common/TextConsoleWin32.h"
"common/TokenLine.h"
"common/triangleapi.h"
"common/usercmd.h"
"common/vmodes.h"
"common/weaponinfo.h"
"common/winsani_in.h"
"common/winsani_out.h"
"dlls/activity.h"
"dlls/activitymap.h"
"dlls/animation.h"
"dlls/basemonster.h"
"dlls/cbase.h"
"dlls/cdll_dll.h"
"dlls/client.h"
"dlls/decals.h"
"dlls/doors.h"
"dlls/effects.h"
"dlls/enginecallback.h"
"dlls/explode.h"
"dlls/extdll.h"
"dlls/func_break.h"
"dlls/game.h"
"dlls/gamerules.h"
"dlls/hornet.h"
"dlls/items.h"
"dlls/maprules.h"
"dlls/monsterevent.h"
"dlls/monsters.h"
"dlls/nodes.h"
"dlls/plane.h"
"dlls/player.h"
"dlls/saverestore.h"
"dlls/schedule.h"
"dlls/scriptevent.h"
"dlls/skill.h"
"dlls/soundent.h"
"dlls/spectator.h"
"dlls/talkmonster.h"
"dlls/teamplay_gamerules.h"
"dlls/trains.h"
"dlls/util.h"
"dlls/vector.h"
"dlls/weapons.h"
"engine/archtypes.h"
"engine/bspfile.h"
"engine/cmd_rehlds.h"
"engine/common_rehlds.h"
"engine/crc32c.h"
"engine/custom.h"
"engine/customentity.h"
"engine/d_local.h"
"engine/edict.h"
"engine/eiface.h"
"engine/FlightRecorder.h"
"engine/hookchains.h"
"engine/keydefs.h"
"engine/maintypes.h"
"engine/model.h"
"engine/modelgen.h"
"engine/osconfig.h"
"engine/pr_dlls.h"
"engine/progdefs.h"
"engine/progs.h"
"engine/rehlds_api.h"
"engine/rehlds_interfaces.h"
"engine/Sequence.h"
"engine/shake.h"
"engine/spritegn.h"
"engine/static_map.h"
"engine/studio.h"
"engine/sys_shared.h"
"engine/userid_rehlds.h"
"pm_shared/pm_debug.h"
"pm_shared/pm_defs.h"
"pm_shared/pm_info.h"
"pm_shared/pm_materials.h"
"pm_shared/pm_movevars.h"
"pm_shared/pm_shared.h"
"public/commonmacros.h"
"public/FileSystem.h"
"public/interface.h"
)
#-------------------------------------------------------------------------------
# Include Directories
#-------------------------------------------------------------------------------
target_include_directories("${TARGET_NAME}" SYSTEM
INTERFACE
"${PROJECT_SOURCE_DIR}/common"
"${PROJECT_SOURCE_DIR}/dlls"
"${PROJECT_SOURCE_DIR}/engine"
"${PROJECT_SOURCE_DIR}/pm_shared"
"${PROJECT_SOURCE_DIR}/public"
)

View File

@ -20,19 +20,19 @@ add_library("${TARGET_ALIAS}" ALIAS "${TARGET_NAME}")
target_sources("${TARGET_NAME}" target_sources("${TARGET_NAME}"
INTERFACE INTERFACE
"dllapi.h" "include/metamod/dllapi.h"
"engine_api.h" "include/metamod/engine_api.h"
"enginecallbacks.h" "include/metamod/enginecallbacks.h"
"h_export.h" "include/metamod/h_export.h"
"log_meta.h" "include/metamod/log_meta.h"
"meta_api.h" "include/metamod/meta_api.h"
"mhook.h" "include/metamod/mhook.h"
"mreg.h" "include/metamod/mreg.h"
"mutil.h" "include/metamod/mutil.h"
"osdep.h" "include/metamod/osdep.h"
"plinfo.h" "include/metamod/plinfo.h"
"sdk_util.h" "include/metamod/sdk_util.h"
"types_meta.h" "include/metamod/types_meta.h"
) )
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
@ -41,7 +41,7 @@ target_sources("${TARGET_NAME}"
target_include_directories("${TARGET_NAME}" target_include_directories("${TARGET_NAME}"
INTERFACE INTERFACE
"${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/include"
) )
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------

View File

@ -34,7 +34,7 @@
#ifndef ENGINE_API_H #ifndef ENGINE_API_H
#define ENGINE_API_H #define ENGINE_API_H
#include <archtypes.h> #include <rehlsdk/engine/archtypes.h>
// Plugin's GetEngineFunctions, called by metamod. // Plugin's GetEngineFunctions, called by metamod.
typedef int (*GET_ENGINE_FUNCTIONS_FN) (enginefuncs_t *pengfuncsFromEngine, int *interfaceVersion); typedef int (*GET_ENGINE_FUNCTIONS_FN) (enginefuncs_t *pengfuncsFromEngine, int *interfaceVersion);

View File

@ -52,7 +52,7 @@
# define enginefuncs_t HL_enginefuncs_t # define enginefuncs_t HL_enginefuncs_t
#endif /* METAMOD_CORE */ #endif /* METAMOD_CORE */
#include <enginecallback.h> // ALERT, etc #include <rehlsdk/dlls/enginecallback.h> // ALERT, etc
#ifdef METAMOD_CORE #ifdef METAMOD_CORE
# undef enginefuncs_t # undef enginefuncs_t

View File

@ -49,7 +49,7 @@
// defined. // defined.
#include "enginecallbacks.h" #include "enginecallbacks.h"
#include <util.h> #include <rehlsdk/dlls/util.h>

283
external/opus/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,283 @@
#-------------------------------------------------------------------------------
# Project Definition
#-------------------------------------------------------------------------------
project("Opus")
#-------------------------------------------------------------------------------
# Target Definition
#-------------------------------------------------------------------------------
set(TARGET_NAME "opus")
set(TARGET_ALIAS "Opus::${TARGET_NAME}")
add_library("${TARGET_NAME}")
add_library("${TARGET_ALIAS}" ALIAS "${TARGET_NAME}")
#-------------------------------------------------------------------------------
# Source Files
#-------------------------------------------------------------------------------
target_sources("${TARGET_NAME}"
PUBLIC
"include/opus/opus_custom.h"
"include/opus/opus_defines.h"
"include/opus/opus_multistream.h"
"include/opus/opus_types.h"
"include/opus/opus.h"
PRIVATE
"src/analysis.c"
"src/analysis.h"
"src/mlp_data.c"
"src/mlp.c"
"src/mlp.h"
"src/opus_decoder.c"
"src/opus_encoder.c"
"src/opus_multistream_decoder.c"
"src/opus_multistream_encoder.c"
"src/opus_multistream.c"
"src/opus_private.h"
"src/opus.c"
"src/repacketizer.c"
"src/tansig_table.h"
"src/celt/_kiss_fft_guts.h"
"src/celt/arch.h"
"src/celt/bands.c"
"src/celt/bands.h"
"src/celt/celt_decoder.c"
"src/celt/celt_encoder.c"
"src/celt/celt_lpc.c"
"src/celt/celt_lpc.h"
"src/celt/celt.c"
"src/celt/celt.h"
"src/celt/cpu_support.h"
"src/celt/cwrs.c"
"src/celt/cwrs.h"
"src/celt/ecintrin.h"
"src/celt/entcode.c"
"src/celt/entcode.h"
"src/celt/entdec.c"
"src/celt/entdec.h"
"src/celt/entenc.c"
"src/celt/entenc.h"
"src/celt/fixed_debug.h"
"src/celt/fixed_generic.h"
"src/celt/float_cast.h"
"src/celt/kiss_fft.c"
"src/celt/kiss_fft.h"
"src/celt/laplace.c"
"src/celt/laplace.h"
"src/celt/mathops.c"
"src/celt/mathops.h"
"src/celt/mdct.c"
"src/celt/mdct.h"
"src/celt/mfrngcod.h"
"src/celt/modes.c"
"src/celt/modes.h"
"src/celt/os_support.h"
"src/celt/pitch.c"
"src/celt/pitch.h"
"src/celt/quant_bands.c"
"src/celt/quant_bands.h"
"src/celt/rate.c"
"src/celt/rate.h"
"src/celt/stack_alloc.h"
"src/celt/static_modes_fixed_arm_ne10.h"
"src/celt/static_modes_fixed.h"
"src/celt/static_modes_float_arm_ne10.h"
"src/celt/static_modes_float.h"
"src/celt/vq.c"
"src/celt/vq.h"
"src/celt/x86/celt_lpc_sse.c"
"src/celt/x86/celt_lpc_sse.h"
"src/celt/x86/pitch_sse.c"
"src/celt/x86/pitch_sse.h"
"src/celt/x86/pitch_sse2.c"
"src/celt/x86/pitch_sse4_1.c"
"src/celt/x86/x86_celt_map.c"
"src/celt/x86/x86cpu.c"
"src/celt/x86/x86cpu.h"
"src/silk/A2NLSF.c"
"src/silk/ana_filt_bank_1.c"
"src/silk/API.h"
"src/silk/biquad_alt.c"
"src/silk/bwexpander_32.c"
"src/silk/bwexpander.c"
"src/silk/check_control_input.c"
"src/silk/CNG.c"
"src/silk/code_signs.c"
"src/silk/control_audio_bandwidth.c"
"src/silk/control_codec.c"
"src/silk/control_SNR.c"
"src/silk/control.h"
"src/silk/debug.c"
"src/silk/debug.h"
"src/silk/dec_API.c"
"src/silk/decode_core.c"
"src/silk/decode_frame.c"
"src/silk/decode_indices.c"
"src/silk/decode_parameters.c"
"src/silk/decode_pitch.c"
"src/silk/decode_pulses.c"
"src/silk/decoder_set_fs.c"
"src/silk/define.h"
"src/silk/enc_API.c"
"src/silk/encode_indices.c"
"src/silk/encode_pulses.c"
"src/silk/errors.h"
"src/silk/gain_quant.c"
"src/silk/HP_variable_cutoff.c"
"src/silk/init_decoder.c"
"src/silk/init_encoder.c"
"src/silk/Inlines.h"
"src/silk/inner_prod_aligned.c"
"src/silk/interpolate.c"
"src/silk/lin2log.c"
"src/silk/log2lin.c"
"src/silk/LP_variable_cutoff.c"
"src/silk/LPC_analysis_filter.c"
"src/silk/LPC_inv_pred_gain.c"
"src/silk/MacroCount.h"
"src/silk/MacroDebug.h"
"src/silk/macros.h"
"src/silk/main.h"
"src/silk/NLSF_decode.c"
"src/silk/NLSF_del_dec_quant.c"
"src/silk/NLSF_encode.c"
"src/silk/NLSF_stabilize.c"
"src/silk/NLSF_unpack.c"
"src/silk/NLSF_VQ_weights_laroia.c"
"src/silk/NLSF_VQ.c"
"src/silk/NLSF2A.c"
"src/silk/NSQ_del_dec.c"
"src/silk/NSQ.c"
"src/silk/NSQ.h"
"src/silk/pitch_est_defines.h"
"src/silk/pitch_est_tables.c"
"src/silk/PLC.c"
"src/silk/PLC.h"
"src/silk/process_NLSFs.c"
"src/silk/quant_LTP_gains.c"
"src/silk/resampler_down2_3.c"
"src/silk/resampler_down2.c"
"src/silk/resampler_private_AR2.c"
"src/silk/resampler_private_down_FIR.c"
"src/silk/resampler_private_IIR_FIR.c"
"src/silk/resampler_private_up2_HQ.c"
"src/silk/resampler_private.h"
"src/silk/resampler_rom.c"
"src/silk/resampler_rom.h"
"src/silk/resampler_structs.h"
"src/silk/resampler.c"
"src/silk/shell_coder.c"
"src/silk/sigm_Q15.c"
"src/silk/SigProc_FIX.h"
"src/silk/sort.c"
"src/silk/stereo_decode_pred.c"
"src/silk/stereo_encode_pred.c"
"src/silk/stereo_find_predictor.c"
"src/silk/stereo_LR_to_MS.c"
"src/silk/stereo_MS_to_LR.c"
"src/silk/stereo_quant_pred.c"
"src/silk/structs.h"
"src/silk/sum_sqr_shift.c"
"src/silk/table_LSF_cos.c"
"src/silk/tables_gain.c"
"src/silk/tables_LTP.c"
"src/silk/tables_NLSF_CB_NB_MB.c"
"src/silk/tables_NLSF_CB_WB.c"
"src/silk/tables_other.c"
"src/silk/tables_pitch_lag.c"
"src/silk/tables_pulses_per_block.c"
"src/silk/tables.h"
"src/silk/tuning_parameters.h"
"src/silk/typedef.h"
"src/silk/VAD.c"
"src/silk/VQ_WMat_EC.c"
"src/silk/float/apply_sine_window_FLP.c"
"src/silk/float/autocorrelation_FLP.c"
"src/silk/float/burg_modified_FLP.c"
"src/silk/float/bwexpander_FLP.c"
"src/silk/float/corrMatrix_FLP.c"
"src/silk/float/encode_frame_FLP.c"
"src/silk/float/energy_FLP.c"
"src/silk/float/find_LPC_FLP.c"
"src/silk/float/find_LTP_FLP.c"
"src/silk/float/find_pitch_lags_FLP.c"
"src/silk/float/find_pred_coefs_FLP.c"
"src/silk/float/inner_product_FLP.c"
"src/silk/float/k2a_FLP.c"
"src/silk/float/levinsondurbin_FLP.c"
"src/silk/float/LPC_analysis_filter_FLP.c"
"src/silk/float/LPC_inv_pred_gain_FLP.c"
"src/silk/float/LTP_analysis_filter_FLP.c"
"src/silk/float/LTP_scale_ctrl_FLP.c"
"src/silk/float/main_FLP.h"
"src/silk/float/noise_shape_analysis_FLP.c"
"src/silk/float/pitch_analysis_core_FLP.c"
"src/silk/float/prefilter_FLP.c"
"src/silk/float/process_gains_FLP.c"
"src/silk/float/regularize_correlations_FLP.c"
"src/silk/float/residual_energy_FLP.c"
"src/silk/float/scale_copy_vector_FLP.c"
"src/silk/float/scale_vector_FLP.c"
"src/silk/float/schur_FLP.c"
"src/silk/float/SigProc_FLP.h"
"src/silk/float/solve_LS_FLP.c"
"src/silk/float/sort_FLP.c"
"src/silk/float/structs_FLP.h"
"src/silk/float/warped_autocorrelation_FLP.c"
"src/silk/float/wrappers_FLP.c"
)
#-------------------------------------------------------------------------------
# Include Directories
#-------------------------------------------------------------------------------
target_include_directories("${TARGET_NAME}"
PUBLIC
"${PROJECT_SOURCE_DIR}/include"
PRIVATE
"${PROJECT_SOURCE_DIR}/include/opus"
"${PROJECT_SOURCE_DIR}/src/celt"
"${PROJECT_SOURCE_DIR}/src/silk"
"${PROJECT_SOURCE_DIR}/src/silk/float"
)
#-------------------------------------------------------------------------------
# Target Properties
#-------------------------------------------------------------------------------
if(NOT WIN32)
set_target_properties("${TARGET_NAME}"
PROPERTIES
# Disable IPO as it causes some warnings
INTERPROCEDURAL_OPTIMIZATION OFF
INTERPROCEDURAL_OPTIMIZATION_MINSIZEREL OFF
INTERPROCEDURAL_OPTIMIZATION_RELEASE OFF
INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO OFF
)
endif()
#-------------------------------------------------------------------------------
# Compile Definitions
#-------------------------------------------------------------------------------
target_compile_definitions("${TARGET_NAME}"
PRIVATE
OPUS_BUILD
USE_ALLOCA
)
#-------------------------------------------------------------------------------
# Compile Options
#-------------------------------------------------------------------------------
target_compile_options("${TARGET_NAME}"
PRIVATE
$<IF:$<CXX_COMPILER_ID:MSVC>,/W0,-w>
)

Some files were not shown because too many files have changed in this diff Show More