Visual studio 在属性中添加其他选项->;C/C++-&燃气轮机;使用Premake的命令行

Visual studio 在属性中添加其他选项->;C/C++-&燃气轮机;使用Premake的命令行,visual-studio,premake,Visual Studio,Premake,我需要将“/FS”添加到属性->C/C++->命令行->其他选项 My(缩短的)premake.lua: workspace "test_refactor_edit_control_01" platforms { "Win32", "64" } configurations { "Debug", "Release" } filter "platforms:Win32" architecture "x86" filter "platforms:6

我需要将“/FS”添加到属性->C/C++->命令行->其他选项

My(缩短的)premake.lua:

workspace "test_refactor_edit_control_01"
    platforms { "Win32", "64" }
    configurations { "Debug", "Release" }

    filter "platforms:Win32"
        architecture "x86"

    filter "platforms:64"
        architecture "x64"

project "test_refactor_edit_control_01"
    location "test_refactor_edit_control_01"
    kind "WindowedApp"
    language "C++"
    staticruntime "Off"

    targetdir ("bin/" .. outputdir .. "/%{prj.name}")
    objdir ("bin-int/" .. outputdir .. "/%{prj.name}")

... (Few more things; nothing special)

使用Premake5和VS2019应足以添加

buildoptions{"/FS"}