trillek-team / tec

The Trillek Engine
http://trillek.space
GNU Lesser General Public License v3.0
138 stars 21 forks source link

Document or build out automation to start multiple projects simultaneously #239

Open adam4813 opened 2 years ago

adam4813 commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, when debugging, in visual studio, starting multiple projects e.g. client and server, you must first start the project you do not want to debug via right click the project "Set as Startup Project" and then run without debugging. Next you need to set the other project as the startup project and run with debugging. An alternative, that is still manual is to follow https://docs.microsoft.com/en-us/visualstudio/ide/how-to-set-multiple-startup-projects?view=vs-2022#to-set-multiple-startup-projects.

The process is different when running via the command line, but is none-the-less tedious with having to run both applications from the root directory and drilling down the the application e.g. root > ./builds/ninja-multi-vcpkg/[client|server]/[Release|Debug]/trillek-[client|server].exe . Linux file and paths are slightly different.

Describe the solution you'd like ideally we can perhaps make an install target for general purpose running.

Additionally, if possible, set up the preset or a CMake config to enable out-of-the-box multiple startup projects.