Only generate .user if it doesn't exist.

This commit is contained in:
Ben Vanik 2015-07-27 20:12:14 -07:00
parent dffc1f0e14
commit 226b7ae83f
1 changed files with 10 additions and 6 deletions

View File

@ -64,9 +64,13 @@ project("xenia-app")
}) })
filter("platforms:Windows") filter("platforms:Windows")
debugdir(project_root) -- Only create the .user file if it doesn't already exist.
debugargs({ local user_file = project_root.."/build/xenia-app.vcxproj.user"
"--flagfile=scratch/flags.txt", if not os.isfile(user_file) then
"2>&1", debugdir(project_root)
"1>scratch/stdout.txt", debugargs({
}) "--flagfile=scratch/flags.txt",
"2>&1",
"1>scratch/stdout.txt",
})
end