Closed evanz2608 closed 2 months ago
Place the two mains in separate folders, so for example like this (this is not the only way to do it):
Did this work well for you? Can I close it?
I did not tried yet because im not at home
I just tried and works fine! You can close it. Thanks!
Is it possible to build two separate executables in the same project? I'm currently testing the language by creating a console game, and I want to make a level editor as a separate program within the same project. I noticed that in the project.json file there is a "targets" object, but adding a second target as an executable results in an error due to the presence of two main functions in separate files. I really like the build system and would prefer not to write a Makefile or create two separate project folders just to resolve this issue.