ccdemos/SConscript
branchpyrit
changeset 104 2274a07510c1
parent 101 50a994a57849
equal deleted inserted replaced
103:3b3257a410fe 104:2274a07510c1
    13 if have_sdl:
    13 if have_sdl:
    14 	for src in demos:
    14 	for src in demos:
    15 		l.append( myenv.Program(src) )
    15 		l.append( myenv.Program(src) )
    16 
    16 
    17 env.Alias('cc-demos', l)
    17 env.Alias('cc-demos', l)
    18 
       
    19 if cc == 'msvc':
       
    20 	# MS Visual Studio Project
       
    21 	vcprojsrcs = []
       
    22 	for src in demos:
       
    23 		vcprojsrcs += ['ccdemos/' + src]
       
    24 	vcprojincs = []
       
    25 	for inc in includes:
       
    26 		vcprojincs += ['ccdemos/' + inc]
       
    27 	vcproj = env.MSVSProject(
       
    28 		auto_build_solution=0,
       
    29 		target = '#pyrit_ccdemos' + env['MSVSPROJECTSUFFIX'],
       
    30 		srcs = vcprojsrcs,
       
    31 		incs = vcprojincs,
       
    32 		buildtarget = 'cc-demos',
       
    33 		variant = 'Release')
       
    34 
       
    35 	Return('vcproj')