wscript: add videoservices

This commit is contained in:
nillerusr 2022-10-13 17:47:27 +03:00
parent bca0ae8c59
commit 2f15ebbfb8
20 changed files with 7 additions and 5 deletions

View File

@ -10,8 +10,8 @@
#define SND_DEVICE_H
#pragma once
#include "snd_fixedint.h"
#include "snd_mix_buf.h"
#include "engine/audio/snd_fixedint.h"
#include "engine/audio/snd_mix_buf.h"
// sound engine rate defines
#define SOUND_DMA_SPEED 44100 // hardware playback rate

View File

@ -8,6 +8,8 @@
#ifndef SND_MIX_BUF_H
#define SND_MIX_BUF_H
#include "utlvector.h"
#if defined( _WIN32 )
#pragma once
#endif

View File

@ -76,7 +76,8 @@ projects={
'vstdlib',
'vtf',
'utils/vtex',
'unicode'
'unicode',
'video',
],
'tests': [
'appframework',
@ -336,13 +337,12 @@ def configure(conf):
flags += ['-fsanitize=%s'%conf.options.SANITIZE, '-fno-sanitize=vptr']
if conf.env.DEST_OS != 'win32':
flags += ['-pipe', '-fPIC']
flags += ['-pipe', '-fPIC', '-L'+os.path.abspath('.')+'/lib/'+conf.env.DEST_OS+'/'+conf.env.DEST_CPU+'/']
if conf.env.COMPILER_CC != 'msvc':
flags += ['-pthread']
if conf.env.DEST_OS == 'android':
flags += [
'-L'+os.path.abspath('.')+'/lib/android/'+conf.env.DEST_CPU+'/',
'-I'+os.path.abspath('.')+'/thirdparty/curl/include',
'-I'+os.path.abspath('.')+'/thirdparty/SDL',
'-I'+os.path.abspath('.')+'/thirdparty/openal-soft/include/',