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")
debugdir(project_root)
debugargs({
"--flagfile=scratch/flags.txt",
"2>&1",
"1>scratch/stdout.txt",
})
-- Only create the .user file if it doesn't already exist.
local user_file = project_root.."/build/xenia-app.vcxproj.user"
if not os.isfile(user_file) then
debugdir(project_root)
debugargs({
"--flagfile=scratch/flags.txt",
"2>&1",
"1>scratch/stdout.txt",
})
end