Source

pysdl-cffi / utils / mksdl.py

Diff from to

utils/mksdl.py

     os.environ['INCLUDE'] = os.path.join(DXSDK_DIR, 'Include') + os.pathsep + os.environ.get('INCLUDE', '')
     os.environ['LIB'] = os.path.join(DXSDK_DIR, 'Lib', 'x86') + os.pathsep + os.environ.get('LIB', '')
     
-    cmd = 'msbuild {} /nologo /v:minimal /p:"VCBuildAdditionalOptions= /useenv" /p:Configuration=Release'.format(slnfile)
+    cmd = 'msbuild {} /nologo /t:rebuild /p:"VCBuildAdditionalOptions= /useenv" /p:Configuration=Release'.format(slnfile)
     print(cmd)
     if os.system(cmd):
         print("build failed")