当前位置:网站首页>CMake 设置vs启动运行环境路径
CMake 设置vs启动运行环境路径
2022-07-29 05:08:00 【longlongway2012】
有时,现在cmake脚本中动态生成运行的环境目录,可以使用一下方法:
Cmake has a VS_DEBUGGER_ENVIRONMENT property which can be used to set the custom PATH
set(MY_PATH "PATH=%PATH%" ${MY_CUSTOM_PATH})
set_target_properties(MyTarget PROPERTIES VS_DEBUGGER_ENVIRONMENT "${MY_PATH}")
边栏推荐
- [config] configure array parameters
- The latest tank battle 2022 - full development notes-3
- How mongodb inserts, deletes and updates documents
- 7.1-default-arguments
- Deep learning brush a bunch of tricks of SOTA
- pytorch学习笔记
- The method and detailed code of automatically pop-up and QQ group when players visit the website
- JS (foreach) return cannot end the function solution
- Understand activity workflow
- Is Huatai Securities an AA level securities company? How about this company? Is it safe to open an account?
猜你喜欢

Deadlock analysis using jstack, jconsole, and jvisualvm

ARFoundation入门教程7-url动态加载图像跟踪库

SM integration is as simple as before, and the steps are clear (detailed)
Let you understand several common traffic exposure schemes in kubernetes cluster

Rimworld通过SteamCMD上传创意工坊的方法

AI应用第一课:C语言支付宝刷脸登录

ARFoundation从零开始3-创建ARFoundation项目

小白高薪捷径-Qt开发游戏—贪吃蛇

Huawei ilearning AI mathematics foundation course notes

What if the office prompts that the system configuration cannot run?
随机推荐
What if excel is stuck and not saved? The solution of Excel not saved but stuck
ARFoundation从零开始9-AR锚点(AR Anchor)
开区网站打开自动播放音乐的添加跟修改教程
Solve the warning prompt of MySQL mapping file
开源汇智创未来 | 2022开放原子全球开源峰会 openEuler 分论坛圆满召开
On AspectJ framework
How does WPS use smart fill to quickly fill data? WPS method of quickly filling data
自定义Qml控件:ImageButton
AttributeError: ‘module‘ object has no attribute ‘create_ connection‘
三层项目的架构分析及构造方法的参数名称注入
学习数据库的第一个程序
MySQL sorts the queried result set according to the specified sequence
[file download] easyexcel quick start
Operator operation list of spark
7.3-function-templates
[untitled]
How does WPS take quick screenshots? WPS quick screenshot method
What servers are needed to build mobile app
Deadlock analysis using jstack, jconsole, and jvisualvm
[sudden] solve remote: support for password authentication was removed on August 13, 2021. please use a perso