Exception classes & required C++11 stuff from GCC(still needs to be fixed)

This commit is contained in:
KimLS
2013-02-17 11:27:43 -08:00
parent 07979ce2de
commit 7a2be102aa
4 changed files with 175 additions and 7 deletions
+2 -7
View File
@@ -115,13 +115,8 @@ OPTION(EQEMU_BUILD_TESTS "Build utility tests." OFF)
IF(UNIX)
#Whether to build cleanipc or not (probably a good idea if you build server)
OPTION(EQEMU_BUILD_CLEANIPC "Build cleanipc." ON)
#Use C++11 stuff, support for this is still it infancy
OPTION(EQEMU_CPP_ELEVEN "Enable C++11 extentions in g++" OFF)
IF(EQEMU_CPP_ELEVEN)
ADD_DEFINITIONS(-std=c++0x)
ENDIF(EQEMU_CPP_ELEVEN)
OPTION(EQEMU_BUILD_CLEANIPC "Build cleanipc." ON)
ADD_DEFINITIONS(-std=c++0x)
ENDIF(UNIX)
#Various definitions