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


边栏推荐
- 100 cases of shell programming
- haas506 2.0开发教程 - 阿里云ota - pac 固件升级(仅支持2.2以上版本)
- 浅聊我和一些编程语言的缘分
- 10000+ 代码库、3000+ 研发人员大型保险集团的研发效能提升实践
- 基于vertx-web-sstore-redis的改造实现vertx http应用的分布式session
- Use of thread pool
- Clear app data and get Icon
- poj 3414 Pots (bfs+线索)
- 中国的软件公司为什么做不出产品?00后抛弃互联网;B站开源的高性能API网关组件|码农周刊VIP会员专属邮件周报 Vol.097
- systemd-resolved 开启 debug 日志
猜你喜欢
随机推荐
Learning notes of SAS programming and data mining business case 19
最长摆动序列[贪心练习]
Sequence alignment
木板ISO 5660-1 热量释放速率摸底测试
leetcode:1755. 最接近目标值的子序列和
中国的软件公司为什么做不出产品?00后抛弃互联网;B站开源的高性能API网关组件|码农周刊VIP会员专属邮件周报 Vol.097
Hdu2377bus pass (build more complex diagram +spfa)
Is Kai Niu 2980 useful? Is it safe to open an account
The reason why the ncnn converted model on raspberry pie 4B always crashes when called
MYSQL IFNULL使用功能
Abnova blood total nucleic acid purification kit pre installed relevant instructions
Abbkine trakine F-actin Staining Kit (green fluorescence) scheme
hdu2377Bus Pass(构建更复杂的图+spfa)
2. < tag hash table, string> supplement: Sword finger offer 50 The first character DBC that appears only once
When steam education enters personalized information technology courses
WPF gets the control in the datagridtemplatecolumn of the specified row and column in the DataGrid
模式-“里氏替换原则”
Monorepo management methodology and dependency security
Abnova DNA marker high quality control test program
LeetCode: Distinct Subsequences [115]









