Skip to content

Commit

Permalink
Fix MyGUI include dir, and properly return error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
ananace committed Jul 7, 2015
1 parent f848521 commit a831e89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions CI/before_script.msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,7 @@ fi
MYGUI_SDK="`real_pwd`/MyGUI"

add_cmake_opts -DMYGUISDK="$MYGUI_SDK" \
-DMYGUI_INCLUDE_DIRS="$MYGUI_SDK/include" \
-DMYGUI_PLATFORM_INCLUDE_DIRS="$MYGUI_SDK/include/MYGUI" \
-DMYGUI_INCLUDE_DIRS="$MYGUI_SDK/include/MYGUI" \
-DMYGUI_PREQUEST_FILE="$MYGUI_SDK/include/MYGUI/MyGUI_Prerequest.h"

if [ $CONFIGURATION == "Debug" ]; then
Expand Down
8 changes: 6 additions & 2 deletions CI/build.msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ else
msbuild OpenMW.sln //t:Build //m:8 //logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
fi

if [ ! -z $PACKAGE ]; then
RET=$?
if [ $RET -eq 0 ] && [ ! -z $PACKAGE ]; then
msbuild PACKAGE.vcxproj //t:Build //m:8
fi
RET=$?
fi

exit $RET

0 comments on commit a831e89

Please sign in to comment.