Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#132 Procedural targetdir generation

5.0
closed
starkos
Code (121)
5
2012-12-15
2010-05-05
Anonymous
No

To get a different targetdir for each combination of configuration and platform, they are specified as follows:

project "MyProject"

configuration { "x64", "Debug" }
targetdir "bin/x64/Debug"

configuration { "x64", "Release" }
targetdir "bin/x64/Release"

The feature request is for generation of these procedurally.

I'd be ok with doing this automatically like OBJDIR, although I suspect that isn't generally agreeable, or by a simple on/off switch, or by specifying a pattern or use of variables (e.g. targetdir "bin/[PLATFORM]/[CONFIGURATION]" and please excuse my complete ignorance on what makes sense for specifying that pattern), and I'm sure there are better ideas I'd be happy with.

From forum post:
http://industriousone.com/topic/magic-objdir-targetdir

Discussion

  • starkos
    starkos
    2012-06-19

    • assigned_to: nobody --> starkos
    • milestone: --> 4.5
    • status: open --> pending
     
  • starkos
    starkos
    2012-09-11

    • status: pending --> closed