Home Download Buy Blog Forum Support

Automatically adding files in Build

Automatically adding files in Build

Postby Exxtay on Fri Jun 29, 2012 11:09 pm

Hello forum, how to automate adding files in "build" list?

i mean, if we have a build template, like this:
Code: Select all
{
   "cmd": ["g++", "main.cpp", "Sources/c_OctObject.cpp", "-o", "main"]
}

how to automate adding new files in list of files to compile?

Thank you.
Last edited by Exxtay on Sat Jun 30, 2012 3:51 pm, edited 1 time in total.
Exxtay
 
Posts: 2
Joined: Fri Jun 29, 2012 11:02 pm

Re: Automatically adding files in Build

Postby jps on Sat Jun 30, 2012 7:18 am

Your best bet in to create a Makefile for your project, and then just use the Makefile build system within Sublime Text.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 22 guests