Commit Graph
28 Commits
Author SHA1 Message Date
Jason Felds d9a3c9cf97 Use cmake to determine which string func we need.
On a side note, better to default to linux names when possible.
2015-10-07 19:00:16 -04:00
Jason Felds b3a5a82b5c Bring us closer to working with MinGW again.
The biggest obstacle right now deals with FFMPEG. I insist on being able to utilize the git clone/submodule (5_1_0) section. I'm just struggling with the commands.

As part of this commit, some linux files are restored in the compilation chain. This is for consistency with the old Makefile approach.

Assistance will be needed at this point to complete MinGW support.
2015-09-27 17:07:15 -04:00
Jason Felds 4feddab08e Allow VS2015 to compile StepMania. 2015-09-14 22:45:56 -04:00
Jason Felds e093d204c8 Use proper cmake detection of features.
This attempts to organize all needed items and places appropriate defines
in a single location. Redundant comparisons/defines were removed when noticed.

A few caveats, however:

* This may be better targeted towards the 5_1_0 branch instead of master right now.
* Cmake will run a little slower on configuration/generation now. That's due to the sanity checks it runs.
* There are some more checks to be added later, but this should be a solid start.

Thanks to the [libical](https://github.com/libical/libical) project for inspiration.
2015-09-05 10:51:17 -04:00
Prcuvu 2ff411c7fc Use Visual Studio implemented functions. 2015-09-01 12:21:11 +08: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
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
Ben "root" Anderson f705817379 Let autoconf set this 2013-10-31 21:22:24 -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 7313f2d0aa Conditionalize some defines that MinGW/autoconf provide 2013-10-24 18:29:58 -05:00
Jason Felds 04644ed3c3 Only do the _MSC_VER calculations if defined. 2013-02-01 23:04:46 -05:00
Jason Felds 1e9ffd1a64 Reasonably sure that mingw won't use d3d.
If mistaken...well, deal with it then.
2013-02-01 22:57:28 -05:00
Jason Felds 2ae401940a Don't redefine if already defined.
Looks like some MinGW setups already have this.

Also...line endings. OY.
2013-02-01 22:50:17 -05:00
Jason Felds 4f07a0ea8b war on -Werror, part 7: start informal params.
I'm preserving our numbering Pohly. ;)
2012-12-26 23:23:59 -05:00
Jason Felds 2ad71548b8 war on -Werror, part 5: win macro redefinition.
Replaces commit 70b8f34.
2012-12-26 22:44:08 -05:00
Aldo Fregoso 341a474c9a Fixed errors & warnings to compile with VS 2011 2012-05-20 21:00:14 -05:00
Austen Dicken 0c94594541 remove the need for libtheora since we have ffmpeg to handle
theora videos
2012-03-12 23:26:34 -05:00
Henrik Andersson 7bf7a701ea [loading window] Now it should build with old SDKs, if you change the constant. 2011-07-01 02:27:22 +02:00
Henrik Andersson ac2668176a Trying to clean up the loading window. 2011-06-03 23:54:45 +02:00
Jason Felds e93e5d4181 [sm130futures] Move warning disabling to .vcproj.
Also, found where vorbis is used on Windows.
2011-05-05 00:32:00 -04:00
AJ Kelly cf81f8cc3b remove xbox support; it doesn't work, and it'd take too much effort to get it working again 2011-03-19 19:28:57 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
AJ Kelly 2153ba0dae archutils\Win32\ cleanup and comment 2011-02-23 22:59:15 -06:00
AJ Kelly 782dc574df "VC 2010 Build" [Chris Danford] Nobody on the team owns VS2k10 so we can't test this, but in case someone else makes a project file, this is one less thing you have to do to get things working. 2010-05-09 23:25:09 -05:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00