mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Moved wiimote_test to wiimote
Some linux compile fixes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1266 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
36
Source/Plugins/Plugin_Wiimote/Src/SConscript
Normal file
36
Source/Plugins/Plugin_Wiimote/Src/SConscript
Normal file
@ -0,0 +1,36 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
import sys
|
||||
|
||||
name = "Plugin_Wiimote"
|
||||
|
||||
files = [
|
||||
"Config.cpp",
|
||||
"ConfigDlg.cpp",
|
||||
"Console.cpp",
|
||||
"DataReports.cpp",
|
||||
"EmuDefinitions.cpp",
|
||||
"EmuMain.cpp",
|
||||
"EmuSubroutines.cpp",
|
||||
"Encryption.cpp",
|
||||
"FillReport.cpp",
|
||||
"main.cpp",
|
||||
"wiimote_real.cpp",
|
||||
]
|
||||
|
||||
wiimoteenv = env.Clone()
|
||||
|
||||
if wiimoteenv['osx64']:
|
||||
wiimoteenv.Append(
|
||||
CXXFLAGS = [ '-arch', 'x86_64' ],
|
||||
LINKFLAGS = [ '-arch', 'x86_64' ],
|
||||
LIBS = [ 'common' ],
|
||||
)
|
||||
else:
|
||||
wiimoteenv.Append(
|
||||
CXXFLAGS = [ '-fPIC' ],
|
||||
LIBS = [ 'common', 'wiiuse' ],
|
||||
)
|
||||
|
||||
wiimoteenv.SharedLibrary(env['plugin_dir']+name, files)
|
Reference in New Issue
Block a user