当前位置:网站首页>Clion configures Visual Studio (MSVC) and JOM multi-core compilation
Clion configures Visual Studio (MSVC) and JOM multi-core compilation
2022-07-05 20:59:00 【Hu Anmin】
install visual studio(msvc)
If you just develop Window Platform software , Best use MSVC, In this way, a large number of third parties can be used lib, There are a lot of build instructions , After all window On MSVC Is king . from Visual Studio Download from the official website Visual Studio Community Edition ( Pay attention to the need for 2019 Version or below )
Official website download address : https://visualstudio.microsoft.com/zh-hans/downloads/
If you can't download it , Then I provide Baidu online disk here
link :https://pan.baidu.com/s/1NYDx02D4BDU6EMF2AcfYHg?pwd=1234
Extraction code :1234
– From Baidu network disk super member V6 The share of
Then install Visual Studio , Then set the installation directory , Otherwise, the default is c disc , How many? G Well

Then open it for review at work , choice c++ Desktop development 
Get into File|Settings|Build,Execution,Deployment|Toolchains, Click on + Number , open Environment File selector , choice Visual Studio The installation directory CLion Automatic scanning tool chain , The following figure is the final result .

Set the compiler used , be used for c The code to compile 
JOM Multi core compilation
Visual Studio In large engineering projects, the compilation time is long , Because it is compiled with a single core , We can use multicore CPU The advantages of , Realize parallel compilation , Need to borrow JOM visit Jom Official website (https://wiki.qt.io/Jom) Download the compressed file , Then decompress , And then Jom Add the root path of to the environment variable
link :https://pan.baidu.com/s/1VSusAo7noTX-45ELvluymA?pwd=1234
Extraction code :1234
– From Baidu network disk super member V6 The share of

After configuration, open Clion->settings->cmake Make the following settings

-G "NMake Makefiles JOM" , -j 8 I suggest you take a look cup Check the number

Save and restart after setting Clion, Then click compile in the project , Enjoy multi-core compilation


边栏推荐
- Careercup its 1.8 serial shift includes problems
- 学习机器人无从下手?带你体会当下机器人热门研究方向有哪些
- MySQL ifnull usage function
- ViewRootImpl和WindowManagerService笔记
- 请查收.NET MAUI 的最新学习资源
- Binary search
- Is it necessary for bazel to learn
- Analysis of steam education mode under the integration of five Education
- SQL series (basic) - Chapter 2 limiting and sorting data
- hdu2377Bus Pass(构建更复杂的图+spfa)
猜你喜欢

Duchefa s0188 Chinese and English instructions of spectinomycin hydrochloride pentahydrate

教你自己训练的pytorch模型转caffe(二)

Abbkine trakine F-actin Staining Kit (green fluorescence) scheme

线程池的使用

渗透创客精神文化转化的创客教育

Duchefa p1001 plant agar Chinese and English instructions

Duchefa MS medium contains vitamin instructions

Write an interface based on flask

五层网络协议

显示器要申请BS 476-7 怎么送样?跟显示屏一样吗??
随机推荐
Popular science | does poor English affect the NPDP exam?
字典树简单入门题(居然是蓝题?)
Monorepo management methodology and dependency security
Specification of protein quantitative kit for abbkine BCA method
Abnova CD81 monoclonal antibody related parameters and Applications
Abnova total RNA Purification Kit for cultured cells Chinese and English instructions
100 cases of shell programming
phpstudy小皮的mysql点击启动后迅速闪退,已解决
教你自己训练的pytorch模型转caffe(一)
启牛2980有没有用?开户安全吗、
解析五育融合之下的steam教育模式
vant 源码解析之 utils/index.ts 工具函数
Is Kai Niu 2980 useful? Is it safe to open an account
2.<tag-哈希表, 字符串>补充: 剑指 Offer 50. 第一个只出现一次的字符 dbc
Influence of oscilloscope probe on measurement bandwidth
解读协作型机器人的日常应用功能
基于vertx-web-sstore-redis的改造实现vertx http应用的分布式session
浅聊我和一些编程语言的缘分
Interpreting the daily application functions of cooperative robots
Duchefa p1001 plant agar Chinese and English instructions