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

View file

@ -64,9 +64,13 @@ project("xenia-app")
}) })
filter("platforms:Windows") filter("platforms:Windows")
-- 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) debugdir(project_root)
debugargs({ debugargs({
"--flagfile=scratch/flags.txt", "--flagfile=scratch/flags.txt",
"2>&1", "2>&1",
"1>scratch/stdout.txt", "1>scratch/stdout.txt",
}) })
end