wscript: add videoservices
This commit is contained in:
parent
bca0ae8c59
commit
2f15ebbfb8
@ -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
|
||||
|
@ -8,6 +8,8 @@
|
||||
#ifndef SND_MIX_BUF_H
|
||||
#define SND_MIX_BUF_H
|
||||
|
||||
#include "utlvector.h"
|
||||
|
||||
#if defined( _WIN32 )
|
||||
#pragma once
|
||||
#endif
|
6
wscript
6
wscript
@ -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/',
|
||||
|
Loading…
Reference in New Issue
Block a user