mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 22:26:29 +01:00
[Summary] There was not a chance to Open Session on Windows. As well for Windows we need "tracks.exe" as this file is required for windows. Otherwise we are just blocked.
This commit is contained in:
parent
5340463a77
commit
97c335f6c2
1 changed files with 6 additions and 3 deletions
|
|
@ -272,10 +272,10 @@ gtk2_ardour_sources = [
|
||||||
'export_video_dialog.cc',
|
'export_video_dialog.cc',
|
||||||
'export_video_infobox.cc'
|
'export_video_infobox.cc'
|
||||||
]
|
]
|
||||||
|
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
gtk2_ardour_sources.append('open_file_dialog.mm')
|
gtk2_ardour_sources.append('open_file_dialog.mm')
|
||||||
elif sys.platform == 'mingw' or sys.platform == 'msvc':
|
elif sys.platform == 'win32' or sys.platform == 'msvc':
|
||||||
|
|
||||||
gtk2_ardour_sources.append('open_file_dialog_windows.cc')
|
gtk2_ardour_sources.append('open_file_dialog_windows.cc')
|
||||||
else:
|
else:
|
||||||
gtk2_ardour_sources.append('open_file_dialog_nix.cc')
|
gtk2_ardour_sources.append('open_file_dialog_nix.cc')
|
||||||
|
|
@ -437,6 +437,9 @@ def build(bld):
|
||||||
#
|
#
|
||||||
obj = bld (features = 'cxx c cxxprogram')
|
obj = bld (features = 'cxx c cxxprogram')
|
||||||
obj.source = gtk2_ardour_sources
|
obj.source = gtk2_ardour_sources
|
||||||
|
if sys.platform == 'win32' :
|
||||||
|
obj.target = bld.env['EXECUTABLE_NAME']
|
||||||
|
else :
|
||||||
obj.target = bld.env['EXECUTABLE_NAME'] + '-' + str(bld.env['VERSION'])
|
obj.target = bld.env['EXECUTABLE_NAME'] + '-' + str(bld.env['VERSION'])
|
||||||
obj.includes = ['.']
|
obj.includes = ['.']
|
||||||
obj.ldflags = ['-no-undefined']
|
obj.ldflags = ['-no-undefined']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue