visual-studio - 使用 Premake 在 Properties->C/C++->Command Line 中添加其他选项
问题描述
我需要将“/FS”添加到属性->C/C++->命令行->附加选项。
我的(缩短的)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"}
推荐阅读
- c++ - 点光源随相机移动
- html - 跨浏览器错误(我尝试了 CSS 重置)
- python - 字典键值仅显示唯一结果而不是全部
- r - 在ggplot2中将空类添加到直方图中
- google-apps-script - 谷歌金融作为 ArrayFormula 的论据
- performance - Web 视图中的 Web URL 加载时间反应原生 - 如何检查?
- parity - 如何使用 Parity 基板创建任意数据的哈希
- processing - 尝试实现广度优先搜索可视化器需要帮助动画过程
- django - 为什么这个中间 Django 页面不会回到之前的操作?
- red-black-tree - 红黑树高证明