当前位置:网站首页>Cmake simple usage
Cmake simple usage
2022-06-23 01:39:00 【For financial freedom!】
cmake_minimum_required(VERSION 3.0)
project(main)
# Configure compile options
set(CMAKE_CXX_FLAGS ${
CMAKE_CXX_FLAGS} -g)
# Set the list of source files to compile
set(SRC_LIST ./muduo_server.cpp)#aux_source_directory(.SRC_LIST) Put all source file names in the current directory SRC_LIST in
# Set the path where the executable file is finally stored
set(EXECUTABLE_OUTPUT_PATH ${
PROJECT_SOURCE_DIR}/bin)
# adopt muduo_server.cpp Generate server Executable file
add_executable(server ${
SRC_LIST})
# Express server This object program , Connection required muduo_net muduo_base pthread These three library files
target_link_libraries(server muduo_net muduo_base pthread)

边栏推荐
- Nuxt - auto generate dynamic route bug
- [22 summer reconstruction 1] codeworks round 791 (Div. 2)
- 人民币的单位的大写
- Random decoding NLP
- There is no corresponding change on the page after the code runs at the Chrome browser break point
- Node fetch download file
- Huawei cloud recruits partners in the field of industrial intelligence to provide strong support + commercial realization
- On AI and its future trend | community essay solicitation
- E-R diagram
- LeetCode 206. 反转链表(迭代+递归)
猜你喜欢

MySQL-Seconds_ behind_ Master accuracy error

JMeter associated login 302 type interface

Steps to implement a container global component

SFOD:无源域适配升级优化,让检测模型更容易适应新数据

Detailed explanation of clip attribute parameters

Webdriver and selenium Usage Summary

Sfod: passive domain adaptation and upgrade optimization, making the detection model easier to adapt to new data

Module 8 job

3D打印微组织

基于深度学习的视觉目标检测技术综述
随机推荐
Pat class a 1016 phone bills (time difference)
Pat class A - 1012 the best rank (PIT)
層次選擇器
LeetCode 206. 反转链表(迭代+递归)
Random decoding NLP
Zabbix5 series - use temperature and humidity sensor to monitor the temperature and humidity of the machine room (XX)
Found several packages [runtime, main] in ‘/usr/local/Cellar/go/1.18/libexec/src/runtime;
Sfod: passive domain adaptation and upgrade optimization, making the detection model easier to adapt to new data
SYSTEMd summary
Pat class A - 1014 waiting in line (bank queuing problem | queue+ simulation)
C. Diluc and Kaeya——Codeforces Round #724 (Div. 2)
[Luogu] P2887 Sunscreen G
Big guys, 2.2.1 the CDC monitoring SQLSEVER can only get the full amount of data. Why can't we get the incremental data in the later period
Module 8 job
SFOD:无源域适配升级优化,让检测模型更容易适应新数据
Xiaobai operates win10 to expand Disk C (allocate disk D memory to Disk C) and the test is valid for many times
leetcode 91. Decode Ways 解码方法(中等)
JS to determine whether the browser has opened the console
Using WordPress to create a MySQL based education website (learning notes 2) (technical notes 1) xampp error1045 solution
Js--- SVG to png