Workspace generation and platforms
Added by David Cowan over 1 year ago
Hi guys,
First off -- I'm a jamplus n00b, but so far I'm mighty impressed with how quickly I've gotten stuff running, and how flexible and quick this system is.
My question, and this may be down to me not understanding some basic concept, is this...
- Do I need to generate multiple workspaces for different platforms?
- Can I generate a workspace for a combination of configs and platforms? (i.e. win32|debug, win32|release, xbox360|debug, xbox360|release, win64|debug, win64|release) ?
Thanks
Dave
Replies (4)
RE: Workspace generation and platforms
-
Added by Joshua Jensen over 1 year ago
You need to provide a .config file with a Platforms section:
Config = {
Platforms = { 'win32', 'xbox360', 'win64' },
Configurations = { 'debug', 'release' },
}
Call jam --workspace -config yourconfigfilename.config.
Search the JamPlus directory structure for *.config to find additional examples.
-Josh
RE: Workspace generation and platforms
-
Added by David Cowan over 1 year ago
Brilliant, thanks.
I found it about 2 minutes before you posted, but I was having problems generating a 360 project until I realized that the XDK was installed BEFORE VS2010 (I only installed VS2010 recently, and have been stuck with VS2008 for my last project, so I haven't tried using it for 360 stuff yet).
RE: Workspace generation and platforms
-
Added by David Cowan over 1 year ago
Is it possible to restrict which build configurations are available to which platforms?
E.g.
Win32 - debug, release, ltcg
Win64 - debug, release, ltcg
Wii - debug, profile, release, debug-nand, release-nand
RE: Workspace generation and platforms
-
Added by Joshua Jensen over 1 year ago
Unfortunately, there isn't a way to do this at this time, although that is just an implementation detail no one has ever asked for. Add it as a feature request.
I am not sure the Visual Studio solution format will support your needs, though. From the Jam side, it should be no problem.
(1-4/4)