Commit Graph

113 Commits

Author SHA1 Message Date
Jason Felds 6b4c4e298f Restore compilation for non cmake users.
The goal is to move to cmake fully. Dealing with plist issues,
specifically on the version.
2015-04-03 16:04:48 -04:00
Jason Felds dc94728628 Introduce cmake (min 2.8.12) to StepMania.
tl-dr: view the Build directory to see.

This is intended to replace the project files that we presently maintain
so that only a single set is needed instead of multiples.

The following setups were used for testing:

* Windows 8 and Visual Studio 2013 Desktop Express
* Windows 7 and Visual Studio 2012
* Mac OS X Mavericks and Xcode
* Ubuntu and makefiles
* Fedora 21 and makefiles

All three operating systems can generate projects, compile, link, and
run. Windows and Mac OS X users will find their compiled binary in the
same location as before, but Linux users will be surprised: it goes
straight into the root directory, along with a symlinked GtkModules.so
as appropriate. There is no more need for a manual symlinking step.

Known issues:

* At this time, MinGW likely does not work. Extra time will be needed.
* The WITH_JPEG option may go away, and we'll just always require it.
* Some linux libraries can use the system equivalents, but that is not up yet.

For more information, check out the Build directory.
2015-03-21 20:15:15 -04:00
Jason Felds a7fc46829e Don't force the old SDK. 2015-01-28 21:46:13 -05:00
Kyzentun 5958f9d26c Xcode project updated with CubicSpline files by dbk2. 2015-01-10 16:54:15 -07:00
Thai Pangsakulyanont 7dc2bd7f63 Change project to 32 bit 2014-10-11 13:55:49 +07:00
Thai Pangsakulyanont a2e66a7803 Use Quarts to map raw keyboard to character code. 2014-10-11 13:49:43 +07:00
Thai Pangsakulyanont c4c0e9b0a1 [WIP] Update to Mac OS X 10.9 SDK
Untested Parts
--------------

`ArchHooks_MacOSX::DumpDebugInfo()`

- Used `sysctlbyname` to find the Mac OS X version instead of the deprecated `Gestalt`.
    - http://stackoverflow.com/questions/11072804/how-do-i-determine-the-os-version-at-runtime-in-os-x-or-ios-without-using-gesta

`MemoryCardDriverThreaded_MacOSX::Unmount( UsbStorageDevice *pDevice )`

- Updated to use `sync_volume_np` instead of deprecated `PBFlushVolSync`.
    - http://lists.apple.com/archives/carbon-dev/2010/Nov/msg00030.html
2014-07-25 09:14:06 +09:00
Thai Pangsakulyanont 1d1c2925f1 Make StepMania compile in Xcode 5.1.1
project:

- Mac OS X 10.6 SDK is used.
- Architecture has been set to 32-bit. Otherwise, `MemoryCardDriverThreaded_MacOSX` and `HIDDevice` will not compile.
- Replaced the outdated `README` file with a new `README.md`.

libmad:

- Use FPM_64BIT instead of FPM_INTEL. Otherwise, it will not compile. Also, latest Xcode seems not to support `$(...)` expansion in defining macros. Instead, they are hardcoded in the build settings.

stepmania:

- Removed compiler flags `-finline-limit` and `-falign-loops=16`
2014-07-23 12:49:58 +09:00
Dan Guzek a9deb919d2 update Xcode project to include ActorMultiVertex 2014-06-10 01:08:21 -04:00
Jason Felds 9bbefe2240 Attempt prep work for 64 bit just in case.
If SDL2 fails, someone (not me) will have to try to
keep these updated.
2014-02-12 19:40:27 -05:00
Jason Felds 65f0261292 ...seriously? Xcode setting fix for tabs? 2014-02-03 20:57:17 -05:00
Jason Felds 20dc9af218 Missed this from last time. 2014-02-03 18:35:38 -05:00
Jason Felds 264013aa58 Remove multiple duplicate entries. 2014-02-01 23:06:14 -05:00
Jason Felds ae5af084e5 Unify into one 4.6.3 xcodeproj file. 2014-02-01 22:47:55 -05:00
Devin J. Pohly d9a37be653 finish removing ScreenPackagesSSC
Missed it in the Xcode projects and HelloWorld.
2013-09-26 12:45:38 -04:00
Colby Klein 59fba9765c Fix compile for PPC 2012-01-06 23:12:39 -08:00
Colby Klein d844e53954 argh 2011-12-31 18:53:24 -08:00
Jason Felds 594df14600 Don't care about jpeg warnings.
TODO: Get "-sm5" to append properly.
2011-12-28 21:28:24 -05:00
Jason Felds 3add7f542b Don't compile jpegtran in. 2011-12-28 18:25:28 -05:00
Colby Klein a191da3f20 Add libjpeg sources, build as a target on OS X. Should hopefully not break building on Windows. Also cleaned up some settings in the project file. Note: this doesn't fix PPC. 2011-12-26 11:30:11 -08:00
Jason Felds fd40fea9cb Remove PMSLoader.
The BPMSLoader now handles PMS files considering their
similarities.
2011-11-30 00:32:17 -05:00
Jason Felds 83fb2980c3 Restore JPEG functionality on Mac.
Just a matter of using the built-in dylib.
2011-11-14 00:38:48 -05:00
AJ Kelly ab69216dc4 part three of three re: Actors/ 2011-10-02 21:41:24 -05:00
Jason Felds b3add3fa06 Restore Xcode 3 compilation. 2011-09-23 19:34:58 -04:00
Thai Pangsakulyanont cbcf955fe8 fixes building in Mac OS X (I hope so) 2011-08-29 00:11:10 +07:00
Jason Felds b9d58d5a4e Keep the -sm5 suffix. 2011-08-17 21:03:56 -04:00
Jason Felds 1c25b0311c Xcode is being a baby again. 2011-08-13 22:17:06 -04:00
Mark Cannon c00fef183e remove unused files from repo and project files 2011-08-06 21:38:50 +00:00
Jason Felds 8d6213401f ...I'll rename the lib to -sm5 later. 2011-08-05 17:31:29 -04:00
Jason Felds 6c15a82892 Start removing Guitar Mode.
This was rushed in to begin with, and not
worth maintaining for us.
2011-07-30 15:20:27 -04:00
Jason Felds 96acfd9c56 ...we need to remember the -bare target. 2011-07-30 14:33:48 -04:00
Jason Felds 2e35024cfb Remove ScoreKeeperGuitar. It is pointless now.
Linux users, you may have to redo autogen.sh here.
2011-07-27 18:55:54 -04:00
Jason Felds 4f7bddd8cc Seriously, how do we remove sm-ssc.app?
I can't kill this thing.
2011-07-26 13:56:23 -04:00
Thai Pangsakulyanont 8bad512433 Fix performance issue: remove the slow assertion code.
GetDisplayedBeat and GetDisplayedSpeedPercent are called so many times in one frame
so they need to be as fast as possible.
2011-07-27 00:29:22 +07:00
Jason Felds ff526c5eb0 Back on clang. It compiles on my end.
Also, I thought I removed sm-ssc.app from here.
2011-07-26 11:35:44 -04:00
Jason Felds e099d5ed18 It's no longer sm-ssc.app, remember? 2011-07-25 04:34:08 -04:00
Jason Felds e16bdc74f8 Keep the -sm5 suffix for Mac building.
We'll deal with gcc vs clang another time.
2011-07-21 12:37:43 -04:00
Colby Klein 44a160708f Nitpicking, another try to make sure we're not doing things the driver doesn't support. 2011-07-20 22:38:10 -07:00
Jason Felds b561bdee44 Rushing this out: hope it works. 2011-07-20 18:38:24 -04:00
Jason Felds 20817bde34 Revert Mac individually named builds.
We need to find a better way without forcing
an hg commit request every time we switch
Native to Debug to Universal.
2011-07-17 16:10:18 -04:00
Jason Felds e3aed61003 ...yeah, we need a better way for Mac apps. 2011-07-16 19:28:14 -04:00
Jason Felds 2091ad9174 XCode updated.
VC can be covered later if no one else does so.
2011-07-13 15:23:21 -04:00
Jason Felds b2e13c6f3d ...does this change on every build I do?
There has to be a better way of adding -debug
or something to the .app file.
2011-07-13 03:26:45 -04:00
Jason Felds 1eb9d636bb I thought I renamed the debug app on Mac. 2011-07-12 21:56:32 -04:00
Jason Felds 40aa454bf5 Have separate debug binaries available. 2011-07-11 15:44:10 -04:00
Jason Felds c0798445f8 Rename mac binaries to StepMania.app finally.
The mkrelease script seems to work as well.
2011-07-11 13:20:17 -04:00
Jason Felds c15144c2de Some attempts at boosting Native speeds. 2011-07-10 12:20:57 -04:00
Jason Felds 8978ebffdf Take Thai's advice: use LTC_NO_ROLC on debug.
Release doesn't need it.

I think we can soon get Xcode 4 working. :)
2011-06-14 21:05:49 -04:00
Jason Felds 6be27bcb48 Prevent library conflicts for the future.
Mac users, you will have to recompile.
2011-06-14 19:54:01 -04:00
Jason Felds 0f435d2c4d Fix music wheel bug thanks to...CLANG?!?
When compilers are the source of bugs,
you know we have to worry.

Especially since Clang 1.5 isn't on Xcode 4
and Clang 2.0 isn't working on Xcode 4.
2011-06-14 02:04:45 -04:00