Help on setting up a new Linux project #1597
-
I'm using WSL and I successfully ran the make command after downloading the source files for uWebSockets and uSockets so I know the environment is good! However, I'm new to Linux makefiles (I've always been in Windows Visual Studio land) and I don't want to have my own code be living in the uWebSockets folder. I want to create my own project folder that includes/links the uWebSockets library, is there a guide on how to do that. Example: Path to uSockets source code is and I have a new project folder |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
uWS is deliberately not tied to any one build system. In fact, you don't even need one - the whole project is just standards compliant header files with 1 single dependency (uSockets). So as long as you can grab the uSockets.a you are golden. You can set up the project in any or all of the 50 billion different build systems you wish |
Beta Was this translation helpful? Give feedback.
I personally don't use build systems (I'm thoroughly fed up with their complexity, bugs and abstractions and false sense of achieving anything at all). I use the most minimal 1-liner Makefile that just calls the compiler (knowing your compiler is all you need):
Build systems are like, the most controversial topic and people are often times full on fanatically obsessed with their pick, that's why I refuse to use them.