Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
cannonball
Commits
eeeb70ba
Commit
eeeb70ba
authored
Dec 28, 2018
by
Libretro-Admin
Browse files
- Add MSVC2008 target
- Remove exception throwing
parent
57a29828
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
eeeb70ba
...
...
@@ -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
...
...
Makefile.common
View file @
eeeb70ba
...
...
@@ -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
...
...
src/main/frontend/config.cpp
View file @
eeeb70ba
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment