mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 08:39:13 +01:00
064d45024c
Fix up so that various libraries wont be fatal for build with scons wiiuse lib is used only if HAVE_WIIUSE is defined to 1 made major cleanup for darwin and osx64 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1404 8ced0084-cf51-0410-be5f-012b33b47a6e
37 lines
638 B
Python
37 lines
638 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
wmenv = env.Clone()
|
|
name = "Plugin_Wiimote"
|
|
|
|
files = [
|
|
"Config.cpp",
|
|
"ConfigDlg.cpp",
|
|
"Console.cpp",
|
|
"DataReports.cpp",
|
|
"EmuDefinitions.cpp",
|
|
"EmuMain.cpp",
|
|
"EmuSubroutines.cpp",
|
|
"Encryption.cpp",
|
|
"FillReport.cpp",
|
|
"main.cpp",
|
|
]
|
|
|
|
libs = [ 'common' ]
|
|
|
|
cxxflags = [ '-fPIC' ]
|
|
|
|
if wmenv['HAVE_WIIUSE']:
|
|
libs += [ 'wiiuse' ]
|
|
files += [ "wiimote_real.cpp" ]
|
|
cxxflags += ['-DHAVE_WIIUSE']
|
|
|
|
wmenv.Append(
|
|
CXXFLAGS = cxxflags,
|
|
LIBS = libs,
|
|
)
|
|
|
|
wmenv.SharedLibrary(env['plugin_dir']+name, files)
|