Добавьте дополнительные параметры в Свойства-> C / C ++ -> Командная строка, используя Premake - PullRequest
0 голосов
/ 19 января 2020

Мне нужно добавить "/ FS" в Свойства-> C / C ++ -> Командная строка-> Дополнительные параметры.

Мой (сокращенный) предварительный ввод. 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

1 Ответ

0 голосов
/ 06 февраля 2020

должно быть достаточно, чтобы добавить

buildoptions{"/FS"}
...