Commit eeeb70ba authored by Libretro-Admin's avatar Libretro-Admin
Browse files

- Add MSVC2008 target

- Remove exception throwing
parent 57a29828
......@@ -375,6 +375,28 @@ PSS_STYLE :=2
LDFLAGS += -DLL
WINDOWS_VERSION=1
# Windows MSVC 2008 x86
else ifeq ($(platform), windows_msvc2008_x86)
CC = cl.exe
CXX = cl.exe
PATH := $(shell IFS=$$'\n'; cygpath "$(VS90COMNTOOLS)../../VC/bin"):$(PATH)
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS90COMNTOOLS)../IDE")
INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS90COMNTOOLS)../../VC/include")
LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS90COMNTOOLS)../../VC/lib")
BIN := $(shell IFS=$$'\n'; cygpath "$(VS90COMNTOOLS)../../VC/bin")
WindowsSdkDir := $(INETSDK)
export INCLUDE := $(INCLUDE);$(INETSDK)/Include;libretro-common/include/compat/msvc
export LIB := $(LIB);$(WindowsSdkDir);$(INETSDK)/Lib
TARGET := $(TARGET_NAME)_libretro.dll
PSS_STYLE :=2
LDFLAGS += -DLL
CFLAGS += -D_CRT_SECURE_NO_DEPRECATE
LIBS =
WINDOWS_VERSION=1
# Windows MSVC 2005 x86
else ifeq ($(platform), windows_msvc2005_x86)
CC = cl.exe
......
......@@ -4,6 +4,10 @@ INCFLAGS := -I$(CORE_DIR)/src/main \
-I$(LIBRETRO_COMM_DIR)/include \
-I$(CORE_DIR)/deps
ifneq (,$(findstring msvc200,$(platform)))
INCFLAGS += -I$(LIBRETRO_COMM_DIR)/include/compat/msvc
endif
FLAGS := -D__LIBRETRO__
#FLAGS += -DCANNONBOARD
FLAGS += -DCOMPILE_SOUND_CODE
......
......@@ -61,14 +61,7 @@ void Config::load(const std::string &filename)
// No namespace qualification is needed, because of Koenig
// lookup on the second argument. If reading fails, exception
// is thrown.
try
{
read_xml(filename, pt_config, boost::property_tree::xml_parser::trim_whitespace);
}
catch (std::exception &e)
{
std::cout << "Error: " << e.what() << "\n";
}
read_xml(filename, pt_config, boost::property_tree::xml_parser::trim_whitespace);
// ------------------------------------------------------------------------
// Menu Settings
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment