Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake设定VS启动项目为实验项目 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kgwal
Copy link

@kgwal kgwal commented Oct 5, 2020

CMake构建后设置VS启动项目为实验项目(原本默认为ALL_BUILD),之后在CMakeLists里add_executable后添加set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${PROJECT_NAME})就可以了

碰到的时候排查问题排查好久才看到顶部的注释(

为更加傻瓜式的实验教学添砖加瓦

()我太闲了,希望老师不要提起我

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant