Home Download Buy Blog Forum Support

Configuring make

Configuring make

Postby dutt on Sat Apr 28, 2012 10:28 am

Hey folks,

I recently discovered this awesome editor and am now trying to bend it to my wishes, with mixed success.

I just got CTags working(yay!) and am currently I'm wondering how to tell the build system where to look for my makefile. I need this to be project-specific. I looked a bit at the documentation but that was mainly around setting up new build systems, I just need to configure an existing one.
dutt
 
Posts: 14
Joined: Sat Apr 28, 2012 10:09 am

Re: Configuring make

Postby quarnster on Sat Apr 28, 2012 5:19 pm

I just set up an almost copy and pasted version for each project. I usually have several different builds per project though depending on target platform among other parameters.
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Configuring make

Postby dutt on Sun Apr 29, 2012 8:58 am

Aha, how do they look like and how do you use them?

I'm thinking of trying to achieve something alone the lines of a IDE, one build for release and one for debugging with a menu or something to easily switch between them.
Last edited by dutt on Sun Apr 29, 2012 9:15 am, edited 1 time in total.
dutt
 
Posts: 14
Joined: Sat Apr 28, 2012 10:09 am

Re: Configuring make

Postby quarnster on Sun Apr 29, 2012 9:14 am

Like this for example:
Code: Select all
    "build_systems":
    [
        {
            "name": "Mango Android",
            "cmd": ["make", "-j3"],
            "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
            "working_dir": "${project_path}/build-android"
        },
        {
            "name": "Mango OSX",
            "cmd": ["make", "-j3"],
            "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
            "working_dir": "${project_path}/build"
        }
    ],
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am


Return to Technical Support

Who is online

Users browsing this forum: stupidideas and 28 guests