当前位置:网站首页>[visual studio 2019] create and import cmake project
[visual studio 2019] create and import cmake project
2022-07-02 11:46:00 【Programmer community】
List of articles
- I . establish CMake project
- II . Import CMake project
- III Open new project Build solution error
First, follow the previous blog 【Visual Studio】Visual Studio 2019 Community Edition CMakeList Development environment installation ( download | Install related components | Create compilation execution project | Error handling ) Installation development environment , Then on the basis of the above , Make this blog content ;
I . establish CMake project
open Visual Studio , Click on the right " Create a new project ( N ) " Options ;

In the new dialog box , Choose to create " CMake project " ;

Enter the project name , Select the project build directory ;

After entering the project interface , wait for 1 ~ 2 minute , Wait for the first compilation to pass , Build solution ;

Click the run button under the menu bar , Run the program ;

II . Import CMake project
In the welcome interface , choice " Open local folder ( F ) " ,
Select the root directory of the project , Then click Select folder ;

Enter the interface and wait for the project to compile , You can run ;

III Open new project Build solution error
Change the location of the project , Re import , There will be various errors in compilation , You need to delete the division here Source code All other files , recompile that will do ;
Delete the following .vs and out Two directories , And then in VS Open in , Can be compiled through ;

边栏推荐
猜你喜欢

抖音海外版TikTok:正与拜登政府敲定最终数据安全协议

Cluster Analysis in R Simplified and Enhanced

由粒子加速器产生的反中子形成的白洞

【云原生】2.5 Kubernetes 核心实战(下)

HOW TO CREATE A BEAUTIFUL INTERACTIVE HEATMAP IN R

解决uniapp列表快速滑动页面数据空白问题

念念不忘,必有回响 | 悬镜诚邀您参与OpenSCA用户有奖调研

tidb-dm报警DM_sync_process_exists_with_error排查

GGHIGHLIGHT: EASY WAY TO HIGHLIGHT A GGPLOT IN R

Develop scalable contracts based on hardhat and openzeppelin (I)
随机推荐
What are the methods of adding elements to arrays in JS
QT获取某个日期是第几周
【2022 ACTF-wp】
[idea] use the plug-in to reverse generate code with one click
ROS lacks xacro package
Installation of ROS gazebo related packages
Map set assignment to database
MySQL linked list data storage query sorting problem
Three transparent LED displays that were "crowded" in 2022
6方面带你认识LED软膜屏 LED软膜屏尺寸|价格|安装|应用
Native method merge word
CentOS8之mysql基本用法
Research on and off the Oracle chain
STM32 single chip microcomputer programming learning
揭露数据不一致的利器 —— 实时核对系统
Astparser parsing class files with enum enumeration methods
K-Means Clustering Visualization in R: Step By Step Guide
Bedtools tutorial
ros gazebo相关包的安装
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer