~ubuntu-branches/ubuntu/vivid/fceux/vivid

« back to all changes in this revision

Viewing changes to src/drivers/sdl/SConscript

  • Committer: Package Import Robot
  • Author(s): Joe Nahmias
  • Date: 2014-03-02 19:22:04 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140302192204-9f0aehi5stfnhn7d
Tags: 2.2.2+dfsg0-1
* Imported Upstream version 2.2.2
  + remove patches merged upstream; refresh remaining
  + remove windows compiled help files and non-free Visual C files
* Use C++11 standard static assertion functionality
* fix upstream installation of support files
* New patch 0004-ignore-missing-windows-help-CHM-file.patch
* update d/copyright for new, renamed, deleted files
* d/control: bump std-ver to 3.9.5, no changes needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
env.ParseConfig(config_string)
8
8
Export('env')
9
9
 
10
 
source_list =  Split("""
11
 
input.cpp
12
 
config.cpp
13
 
sdl.cpp
14
 
sdl-joystick.cpp
15
 
sdl-sound.cpp
16
 
sdl-throttle.cpp
17
 
sdl-video.cpp
18
 
unix-netplay.cpp
19
 
""")
 
10
source_list = Split(
 
11
    """
 
12
    input.cpp
 
13
    config.cpp
 
14
    sdl.cpp
 
15
    sdl-joystick.cpp
 
16
    sdl-sound.cpp
 
17
    sdl-throttle.cpp
 
18
    sdl-video.cpp
 
19
    unix-netplay.cpp
 
20
    """)
20
21
 
21
22
Import('env')
22
23
if 'GL' in env['LIBS']:
23
24
  source_list.append('sdl-opengl.cpp')
24
25
 
25
 
for x in range(len(source_list)):
26
 
  source_list[x] = 'drivers/sdl/' + source_list[x]
 
26
if env['GTK'] or env['GTK3']:
 
27
  source_list.append('gui.cpp')
 
28
 
 
29
source_list = ['drivers/sdl/' + source for source in source_list]
27
30
Return('source_list')