当前位置:网站首页>[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 ;

边栏推荐
- Is the stock account given by qiniu business school safe? Can I open an account?
- ren域名有价值吗?值不值得投资?ren域名的应用范围有哪些?
- Amazon cloud technology community builder application window opens
- bedtools使用教程
- What week is a date obtained by QT
- GGHIGHLIGHT: EASY WAY TO HIGHLIGHT A GGPLOT IN R
- Cluster Analysis in R Simplified and Enhanced
- PYQT5+openCV项目实战:微循环仪图片、视频记录和人工对比软件(附源码)
- 抖音海外版TikTok:正与拜登政府敲定最终数据安全协议
- SQLite modify column type
猜你喜欢

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

Skills of PLC recorder in quickly monitoring multiple PLC bits

MySQL comparison operator in problem solving

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

Develop scalable contracts based on hardhat and openzeppelin (II)
![[idea] use the plug-in to reverse generate code with one click](/img/b0/00375e61af764a77ea0150bf4f6d9d.png)
[idea] use the plug-in to reverse generate code with one click

The selected cells in Excel form have the selection effect of cross shading

tidb-dm报警DM_sync_process_exists_with_error排查

在连接mysql数据库的时候一直报错

Esp32 audio frame esp-adf add key peripheral process code tracking
随机推荐
A sharp tool for exposing data inconsistencies -- a real-time verification system
Introduction to interface debugging tools
Map set assignment to database
MySql存储过程游标遍历结果集
MySQL比较运算符IN问题求解
C file and folder operation
STM32 single chip microcomputer programming learning
【多线程】主线程等待子线程执行完毕在执行并获取执行结果的方式记录(有注解代码无坑)
Redis exceeds the maximum memory error oom command not allowed when used memory & gt; ' maxmemory'
Develop scalable contracts based on hardhat and openzeppelin (II)
flutter 问题总结
2022年遭“挤爆”的三款透明LED显示屏
基于Hardhat和Openzeppelin开发可升级合约(一)
Multi line display and single line display of tqdm
Liftover for genome coordinate conversion
Some suggestions for young people who are about to enter the workplace in the graduation season
C#多维数组的属性获取方法及操作注意
PYQT5+openCV项目实战:微循环仪图片、视频记录和人工对比软件(附源码)
Is the stock account given by qiniu business school safe? Can I open an account?
Compilation errors and printout garbled problems caused by Chinese content in vs2019 code