demos/SConscript
branchpyrit
changeset 104 2274a07510c1
parent 101 50a994a57849
equal deleted inserted replaced
103:3b3257a410fe 104:2274a07510c1
    16 
    16 
    17 import os
    17 import os
    18 l.append( env.Copy('#build/demos/'+str(pymodule[0]).split(os.sep)[-1], str(pymodule[0])) )
    18 l.append( env.Copy('#build/demos/'+str(pymodule[0]).split(os.sep)[-1], str(pymodule[0])) )
    19 
    19 
    20 env.Alias('python-demos', l)
    20 env.Alias('python-demos', l)
    21 
       
    22 if cc == 'msvc':
       
    23 	# MS Visual Studio Project
       
    24 	vcprojmisc = []
       
    25 	for file in files:
       
    26 		vcprojmisc += ['demos/' + file]
       
    27 	vcproj = env.MSVSProject(
       
    28 		auto_build_solution=0,
       
    29 		target = '#pyrit_demos' + env['MSVSPROJECTSUFFIX'],
       
    30 		misc = vcprojmisc,
       
    31 		buildtarget = 'python-demos',
       
    32 		variant = 'Release')
       
    33 
       
    34 	Return('vcproj')