Commit Graph
167 Commits
Author SHA1 Message Date
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
freem 2d4c431c3e 32-bit verinc.exe; I don't know what you guys were thinking 2015-02-01 23:24:31 -06:00
Ben "root" Anderson 615d4e6ef6 That shit was deprecated back in Windows XP! Service pack nothing, I'm talking RELEASE DAY. 2015-01-29 15:29:33 -06:00
Jason Felds 0a4902c648 ...and the Mac side. 2015-01-28 22:09:38 -05:00
Jason Felds 7a6db33644 Adapt to recent version_num changes.
...I don't get what's going on either.
2015-01-28 21:45:23 -05:00
Ben "root" Anderson 7a33b8a44a Program version is now in a const from a generated file, not a static macro. Plus all the mess I had to make to get that to work. 2015-01-28 19:21:24 -06:00
Ben "root" Anderson 0d394e269d Declare version_* in only one place. Define them in ver.cpp (at least on autotools). 2015-01-28 16:45:19 -06:00
Thai Pangsakulyanont a4f9df9cbc Merge branch 'master' of https://github.com/stepmania/stepmania into MacOSX10.9.sdk 2014-10-11 12:40:18 +07:00
freem 4629bdef5c Make the log mention Windows 8 instead of "unknown NT-based"
(fwiw, I don't like windows 8. also can someone tell me what version number windows 10 will be using?)
2014-10-06 17:50:47 -05:00
freem a34f05ee95 revert mapconv.exe back to older version
(even though it doesn't really work well with Visual Studio 2010 and NoteData:AddATIToList/RemoveATIFromList... see issue #262)
2014-08-27 12:33:46 -05:00
freem 84a8d3adfb replace psychopathic mapconv.exe with one compiled by "g++ (rev5, Built by MinGW-W64 project) 4.8.1"
This is probably the part where someone says "why do we have the compiled binaries in the source tree anyways if they're just going to cause problems like this?"
2014-08-05 13:52:10 -05: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
freem 5644917565 update windows resources file for next version 2014-02-19 21:28:39 -06:00
Colby Klein 03fa5d0f2e Merge pull request #52 from Suisse00/stepmania_pullrequest
Upgrade to VC++ 2013
2014-02-18 14:57:55 -08:00
Suisse00 ae3a056b2d Fixed compiling issue with lrintf() on VC++ 2013
Added a preprocessing condition which don't implement lrintf() with VC++
>= 2013 because it is in the SDK
2014-02-16 20:48:05 -05: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
Renaud Lepage 5cce28d8ab Corrected per project spec 2014-01-26 19:41:40 -05:00
Renaud Lepage e9226aedc4 Centralize SpecialDirs. 2014-01-26 19:14:41 -05:00
Ben "root" Anderson 9538385a6a Remove misleading comment. The code is sit up for these to only be called once. 2014-01-21 23:02:10 -06:00
Ben "root" Anderson a3e241f471 Apparently Mac needs this too 2013-11-09 18:36:57 -06:00
Jason Felds 09f8219a67 Revert "Xcode 5 fixing, part 1."
This reverts commit bfab952b6a.
2013-11-06 23:33:31 -05:00
Jason Felds bfab952b6a Xcode 5 fixing, part 1.
Need someone on xcode 4.x to confirm this works.

Once this file gets fixed, the others will be removed.
2013-11-04 19:45:23 -05:00
Ben "root" Anderson f705817379 Let autoconf set this 2013-10-31 21:22:24 -05:00
Ben "root" Anderson 48ca0a5908 Move our winres.h out of the way so VS does not get confused 2013-10-31 20:43:51 -05:00
Ben "root" Anderson 095c6877c2 rc does not define _MSC_VER. Oops. We will use our own define. 2013-10-31 20:19:17 -05:00
Ben "root" Anderson d2f43a73e4 LinuxThreadHelpers -> PthreadHelpers part 3 2013-10-30 00:08:19 -05:00
Ben "root" Anderson b64a766e0f winres.h -> afxres.h redirect for MinGW 2013-10-29 22:20:44 -05:00
Ben "root" Anderson b689134717 Did not find dxerr on MinGW-W64, resorting to dxerr9 2013-10-26 17:05:18 -05:00
Ben "root" Anderson d61f2f8750 Actual AT&T syntax for this one, and do GCC inline asm correctly 2013-10-26 17:04:42 -05:00
Ben "root" Anderson 857100899e Manually newline each inline assembly line. GCC asm syntax is just braindead like that. 2013-10-26 15:19:20 -05:00
Ben "root" Anderson 6157d7eb3e This is Intel syntax! 2013-10-26 15:04:59 -05:00
Ben "root" Anderson 7888b7a336 Really? What kind of exception is ASSEMBLY CODE going to throw? 2013-10-25 19:29:29 -05:00
Ben "root" Anderson 2109beeee3 GCC requires these kinds of casts to be explicit 2013-10-25 19:27:11 -05:00
Ben "root" Anderson ca295a8c80 Mark this for changing later 2013-10-25 19:24:18 -05:00
Ben "root" Anderson ed7d824bbb Conditionalize asm syntax. Add GCC asm syntax. 2013-10-25 19:19:26 -05:00
Ben "root" Anderson 4ff5fe367a That wasnt supposed to be there. 2013-10-25 19:16:18 -05:00
Ben "root" Anderson d8cab4da7f Apparently hg didnt revert correctly this time. 2013-10-25 19:15:45 -05:00
Ben "root" Anderson 3a730b3c3c Introducing SM_ASM_X86, a compiler-agnostic inline assembly macro 2013-10-25 18:05:56 -05:00
Ben "root" Anderson 469260911a I dont think theres anything to catch here. GCC doesnt have SEH so skipping the tryblock for now. 2013-10-25 17:56:12 -05:00
Ben "root" Anderson 944921ac12 You need global.h for RString 2013-10-25 15:52:07 -05:00
Ben "root" Anderson 9d6a9510f4 Added this to the wrong file 2013-10-25 15:51:44 -05:00
Ben "root" Anderson 4c62a0e5b4 You need StdString.h for RString 2013-10-25 15:42:19 -05:00
Ben "root" Anderson 95ba9dd658 You need stdint.h for uint64_t 2013-10-25 15:41:20 -05:00
Ben "root" Anderson 915a08f1d8 Just pulling in Unix/Backtrace.h with no impl for now. 2013-10-25 15:40:58 -05:00
Ben "root" Anderson 23eaa78c1b This is only used in archutils/Unix/CrashHandler.cpp so conditionalize it. 2013-10-25 15:39:39 -05:00
Ben "root" Anderson a54e0f1205 Missed changing LinuxThreadHelpers -> PthreadHelpers in the .cpp itself 2013-10-25 15:29:33 -05:00
Ben "root" Anderson 0959033fe6 LinuxThreadHelpers -> PthreadHelpers 2013-10-25 15:15:41 -05:00
Ben "root" Anderson 04be5f6106 uintX requires stdint.h. No idea why this worked before. 2013-10-25 01:48:42 -05:00
Ben "root" Anderson 7313f2d0aa Conditionalize some defines that MinGW/autoconf provide 2013-10-24 18:29:58 -05:00
Devin J. Pohly d363db2132 Clean out strings now that sm-ssc is something else 2013-10-13 23:02:51 -04:00