mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Added preliminary Wiimote plugin spec, and an empty test plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@508 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
23
Source/Plugins/Plugin_Wiimote_Test/Src/SConscript
Normal file
23
Source/Plugins/Plugin_Wiimote_Test/Src/SConscript
Normal file
@ -0,0 +1,23 @@
|
||||
Import('env')
|
||||
import sys
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
output = "../../../../Binary/mac/Plugins/Plugin_Wiimote_Test.so"
|
||||
else:
|
||||
output = "../../../../Binary/linux/Plugins/Plugin_Wiimote_Test.so"
|
||||
|
||||
files = [
|
||||
"main.cpp",
|
||||
]
|
||||
|
||||
padenv = env.Copy()
|
||||
padenv.Append(
|
||||
CXXFLAGS = ' ' + ' '.join([
|
||||
'-fPIC', '`wx-config --cppflags`', '`pkg-config --cflags sdl`'
|
||||
]),
|
||||
LINKFLAGS = ' ' + ' '.join([
|
||||
'`wx-config --libs`', '`pkg-config --libs sdl`'
|
||||
])
|
||||
)
|
||||
padenv.SharedLibrary(output, files, LIBS = [ "common" ])
|
||||
|
Reference in New Issue
Block a user