visualfc / liteide

LiteIDE is a simple, open source, cross-platform Go IDE.
GNU Lesser General Public License v2.1
7.55k stars 966 forks source link

Build configuration per project #1025

Open nazwa opened 5 years ago

nazwa commented 5 years ago

I would like to know if there is a way to easily save different build settings "per project"?

I work on a few different apps simultaneously, and each one of them requires slightly different configuration.

I know that I can go to View > Options > LiteBuild, but this changes the settings "globally" for all projects.

I also move between different computers and having a local build config file would be very useful.


Please answer these questions before submitting your issue. Thanks! Please download LiteIDE latest version and test before submitting your issue. Thanks!

What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?

35.3

What version of Go are you using (go version)?

1.11.4

What operating system and processor architecture are you using(go env)?

set GOHOSTARCH=amd64 set GOHOSTOS=windows

What did you do?

N/A

What did you expect to see?

N/A

What did you see instead?

N/A

pipe01 commented 4 years ago

I would really like to see this too

visualfc commented 4 years ago

menu : build configure....

pipe01 commented 4 years ago

I have seen that but I can't edit the values there

visualfc commented 4 years ago

build configure can set GOPATH and Custom build. What configuration do you need?

pipe01 commented 4 years ago

You're right, I misunderstood that menu, sorry. I have another question though, how can I change the name of the .exe that gets generated when I build the project? I tried changing TARGETBASENAME but it doesn't seem to have any effect.

visualfc commented 4 years ago

Custom TARGETBASENAME and BUILDFLAGS Key: BUILDFLAGS
Value: -o $(TARGETNAME)

pipe01 commented 4 years ago

That works, thank you!