summaryrefslogtreecommitdiff
path: root/SConstruct
AgeCommit message (Collapse)Author
2011-06-23Tag Dolphin 3.03.0NeoBrainX
git-svn-id: https://dolphin-emu.googlecode.com/svn/tags/3.0@7615 8ced0084-cf51-0410-be5f-012b33b47a6e 3.0: Removed SVNRevGen stuff; changed revision string to 3.0; Removed installer since it was vastly outdated; Bumped CMake major version to 3 git-svn-id: https://dolphin-emu.googlecode.com/svn/tags/3.0@7616 8ced0084-cf51-0410-be5f-012b33b47a6e 3.0: Add the languages which were chosen to be release-worthy. Uhm, unless I forgot something important, I guess we can declare 3.0 as officially released now and stuff. Cheers ;) git-svn-id: https://dolphin-emu.googlecode.com/svn/tags/3.0@7617 8ced0084-cf51-0410-be5f-012b33b47a6e 3.0: Fix SCons build git-svn-id: https://dolphin-emu.googlecode.com/svn/tags/3.0@7627 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-22Fix gcc build.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7393 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-21OS X also needs to have the display resolution changed beforeSoren Jorvang
setting wxFULLSCREEN_ALL. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7390 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-20Simplify the SCons build:Soren Jorvang
With wxWidgets 2.9.2 now in Externals, SCons was the only external dependency other than Xcode and building just SCons from Macports caused a fair mount of extra stuff to be built unnecessarily, so just include a copy of scons-local. Always build wxWidgets from Externals which allows us to get rid of the home-grown autoconf machinery in SconsTests. The main use case for args.cache was the wxconfig option, which is no longer relevant after the above changes and caching options has a lot of potential for confusion, especially since other build systems don't tend to do this, so we no longer do it now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7381 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-10Fix OS X Lion build:Soren Jorvang
Lion no longer includes wxWidgets 2.8, so be prepared to fall back to Externals/wxWidgets3 even when no wx-config command is found at all. There are a few new and deprecated symbols in the 10.7 SDK that conflict with wxWidgets/Dolphin, so just use the 10.6 SDK for now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7325 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-06Use clang for compiling the few .c files, including minilzo-2.04Soren Jorvang
which appears to trigger a bug in the version of llvm-gcc included with some releases of Xcode prior to 3.2.5. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7310 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03Move SConscript files out from the Src subdirectories to beSoren Jorvang
consistent with the other build systems. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7282 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-03Prepare for the release of Xcode 4, which has working LTOSoren Jorvang
with static libraries. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7280 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-16Clean up shared_foo handling.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7183 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-15The pkg-config name of libpng is "libpng", not just "png".Soren Jorvang
Things break if both a shared and static libpng are linked in, presumably because it has some global state. Several of the gtk-ish libraries often, but not always, link in libpng transitively, so it is important that we find it ourselves first, even if it is not in the linker's search path. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7178 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-15Disable use of exceptions in the wxWidgets3 build.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7177 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-14Initialize all struct members.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7173 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-14Allow building with Externals/wxWidgets3 on Linux and importSoren Jorvang
libpng so it can be maintained independently of wxWidgets. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7172 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-12Allow building with wxgtk 2.9.2 in Externals.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7155 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-11Fix SCons build.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7137 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-08Externals build framework for wxWidgets 2.9.2+.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7118 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-08Check for wxWidgets 2.9.2 (trunk really) which the OS X build now requires.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7115 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-05The compiler need not obey the static keyword, so to avoid linkerSoren Jorvang
problems, whole functions in .h files need to also be static in case they are included in several .cpp files. Also a few other minor LTO fixes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7082 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-04Turn back on unit tests in SCons.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7057 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-04In the SCons build, skip the generation of static librariesSoren Jorvang
and just operate on lists of object files instead. This helps with LTO since LLVM/clang LTO is completely broken by static libraries. It also helps identify symbol clashes between components like the former plugins. Many linkers also expect static libraries to form a strict DAG which turns out be a difficult rule to uphold in practice, especially since some of our platforms aren't picky about this. LTO builds currently appears to crash at runtime because of the static wx libs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7056 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-03Removed the Lua script console and Externals/Lua. The script console was ↵Jordan Woyak
incomplete and no one was working on it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7051 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-03Use brute force to link the software plugin.Soren Jorvang
Not yet functional. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7050 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-02Thread affinity on OS X and *BSD.Soren Jorvang
Keep building the software plugin to prevent rot. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7045 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-02Remove PluginSpecs.h. Merge the few needed enums from that file into ↵Glenn Rice
Common.h for now. I am up for suggestions on a better place for those. Fix frame dumping on linux. Make sure that on screen messages get cleared between games. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7039 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-31Fix *BSD build.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7002 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-31Fix OS X build.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6997 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-30Revert to Cg.framework 3.0.0007. 3.0.0015 has problems.Soren Jorvang
Fixes issue 4009. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6982 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-30Virtual base classes should have a virtual destructor.Soren Jorvang
Build a libdolphinwx. Just fooling around with LTO.. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6981 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-29Core and DSPCore now have mutual dependencies, which breaks theSoren Jorvang
assumption on the part of many linkers that static libraries make up a DAG, so merge libdspcore into libcore. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6967 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-29Be a little more careful about the use of SSE.Soren Jorvang
We really need to adopt the GCC model of one instruction set per compilation unit. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6965 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-29The OS X build now requires a little less compiler/linker magicSoren Jorvang
to maintain 10.5 runtime compatibility. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6963 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-29Link the video plugin statically into the main binary on OS X.Soren Jorvang
This makes the OS X build more robust and should help pave the way for the integration of the video plugins as well as LTO. There are now no more global class level namespace conflicts left, as evidenced by the fact that Dolphin can be linked with -all_load, not that you would want to. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6958 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-28Fix OS X build.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6951 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-27Various minor fixes to allow building with clang on OS X.Soren Jorvang
Fixes issue 3992. wxWidgets patch at http://trac.wxwidgets.org/ticket/12332 . git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6929 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-22Drop support for building on OS X 10.5. It is too much hassle toSoren Jorvang
work around the limitations of the no longer maintained Xcode 3.1.4 for Leopard. Running a 10.6-built app on 10.5 works fine through through the use of the 10.5 SDK. std::locale() seems to be the generally safer way to specify the default locale and works on Linux and OS X at least. Thanks to dasmetzelmaennchen for the pointer. Remove some obsolete SCons related svn:ignores. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6893 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-21Use the LLVM branch of gcc, which produces better code.Soren Jorvang
Suggested by celgilles. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6892 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-21Make sure the game list gets created with automatic starts.Soren Jorvang
When rendering to the main window, the wxGLCanvas should really be owned by the DolphinWX code for it to be safely freed. Hack around the problem by just hiding the canvas for now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6890 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-20Disable the default PIC generation on OS X. This might make for aSoren Jorvang
minor performance improvement and also possibly make that platform a little less prone to problems with ABI assumptions in the JIT code, although I haven't measured the first or seen signs of the latter. Only the GL context needs to be specifically freed when shutting down OpenGL. The GL canvas is implicitly freed by wxWindow. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6885 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-15Clean up nowx and stop cocoaApp busy-waiting in the main loop.Soren Jorvang
Set up an exit(3) task to shut down real wiimotes. This shouldn't really be necessary, but we do currently handle a number of error conditions by calling exit(3). Retire the inputuicommon library. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6852 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-14Accept arbitrary HID devices as gamepads instead of using SDL,Soren Jorvang
which has too narrow a view of what constitutes a joystick. Now if only I could find my Apple IR Remote.. :-) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6844 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-11wxWidgets 2.9.2 works with _("") strings for command-line arguments.Soren Jorvang
Optimize the OS X build for Core 2 CPU's. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6808 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-06Kill HAVE_OPENCL.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6756 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-31Remove wiiuse, and use our own code. Works on linux and windows. On OSX it ↵Glenn Rice
should compile, but I don't know about functionality. Even on linux and windows I can't promise this is bug free (wiiuse certainly wasn't). Please report issues as you find them for all platforms. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6693 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-27All 64-bit capable Macs have the SSSE3 extension.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6671 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-05Move NSAutoreleasePool handling into the proper entry/exit pointsSoren Jorvang
for the real wiimote thread as for the other threads. Turns out we use OS X bluetooth API's that were introduced in 10.5.4. Remove vestiges of previously removed wiiuse_set_bluetooth_stack(). XXX We should probably have a Common equivalent of htonl and friends. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6531 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-16Linux cmake build fix. I fixed the scons build as well, so this might fix ↵Glenn Rice
the macosx build also. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6424 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-14Damn scons. Fix a indentation issue.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6412 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-14Linux needs the -fvisibility=hidden flags. The font selection of the ↵Glenn Rice
debugger segmentation faults without it. Since the font is selected when the application begins the debugger is rendered inoperable. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6411 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-14Clean up OS X wx library handling a bit.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6403 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-14Allow building on OS X with static wx libs.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6400 8ced0084-cf51-0410-be5f-012b33b47a6e