console_client_server_application's People
console_client_server_application's Issues
Restructure code and folder layout
As I said before
- We are targeting C++17, not C++14, please change it in your
CMakeLists.txt
- Follow Google C++ style guide, for example, change the file name to
lower_case
- Format with
clang-format
, I don't see you using it in your project - The folder structure should follow Pitchfork Layout. Please take a look at my repos as an example. You are separating your repo into 2 projects, corresponding to 2 folders, which is not necessary. Your repo should look like this:
src/
| - admin/
| | - sources.cc
| | - sources.h
| | - CMakeLists.txt
| - node/
| | - sources.cc
| | - sources.h
| | - CMakeLists.txt
CMakeLists.txt # this one should be the root CMake files
.clang-format # format configuration
- Also, do not push build files to the repo (
cmake-debug
folder), use.gitignore
to remove them. - Follow
Modern CMake for C++
, write your codes as target-driven. For example:- you can create 2 executable targets for Admin and Server/Client.
- stop using
include_directories
without the knowledge of what it is, usetarget_include_directores
,target_sources
,target_link_library
, etc. Take a look at my repo as a reference.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.