Skip to content

Commit dcd6d62

Browse files
committed
Merge branch 'Develop'
2 parents 179a738 + e73c309 commit dcd6d62

File tree

135 files changed

+20236
-6697
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+20236
-6697
lines changed

CMakeLists.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
11
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
22

3-
ADD_COMPILE_OPTIONS($<$<CXX_COMPILER_ID:MSVC>:/MP>)
3+
ADD_COMPILE_OPTIONS($<$<CXX_COMPILER_ID:MSVC>:/MP> $<$<CXX_COMPILER_ID:MSVC>:$<$<CONFIG:RELEASE>:/O2>> $<$<CXX_COMPILER_ID:MSVC>:$<$<CONFIG:RELWITHDEBINFO>:/O2>>)
44

55
PROJECT(organizer)
66

77
# sets ModOrganizer as StartUp Project in Visual Studio
88
set_property(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" PROPERTY VS_STARTUP_PROJECT "ModOrganizer")
99

10+
set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1)
11+
set(CMAKE_INSTALL_MESSAGE NEVER)
12+
1013
SET(DEPENDENCIES_DIR CACHE PATH "")
1114
# hint to find qt in dependencies path
1215
LIST(APPEND CMAKE_PREFIX_PATH ${QT_ROOT}/lib/cmake)
1316
LIST(APPEND CMAKE_PREFIX_PATH ${LZ4_ROOT}/dll)
1417

1518
ADD_SUBDIRECTORY(src)
19+
20+
set(vcxproj_user_file "${CMAKE_CURRENT_BINARY_DIR}/INSTALL.vcxproj.user")
21+
if(NOT EXISTS ${vcxproj_user_file})
22+
FILE(WRITE ${vcxproj_user_file}
23+
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
24+
"<Project ToolsVersion=\"Current\" xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\n"
25+
"<PropertyGroup>\n"
26+
"<LocalDebuggerWorkingDirectory>${CMAKE_INSTALL_PREFIX}/bin</LocalDebuggerWorkingDirectory>\n"
27+
"<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>"
28+
"<LocalDebuggerCommand>${CMAKE_INSTALL_PREFIX}/bin/ModOrganizer.exe</LocalDebuggerCommand>\n"
29+
"</PropertyGroup>\n"
30+
"</Project>\n")
31+
endif()
32+
33+
INSTALL(FILES dump_running_process.bat DESTINATION bin)

appveyor.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
version: 1.0.{build}
22
skip_branch_with_pr: true
3-
image: Visual Studio 2017
3+
image: Visual Studio 2019
44
environment:
55
WEBHOOK_URL:
66
secure: gOKbXaZM9ImtMD5XrYITvdyZUW/az082G9OIN1EC1VYoNNsKROB4s6VsQiL6qbLNLc4XQhc8Y9DhdU9Hfh49vhypcjUEQmMsENxnp+1hYMJctTqIYDunVSd767eez5wz6rKHqk+XOHmg5gyVNCV9u4DVcCZJSVe4UTKn1lc47H0=
7+
build:
8+
parallel: true
79
build_script:
810
- cmd: >-
911
git clone --depth=1 --branch=%APPVEYOR_REPO_BRANCH% https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella 2> $null
@@ -14,15 +16,17 @@ build_script:
1416
1517
C:\Python37-x64\python.exe unimake.py -d c:\projects\modorganizer-build -s Appveyor_Build=True %APPVEYOR_PROJECT_NAME%
1618
artifacts:
17-
- path: vsbuild\src\RelWithDebInfo\ModOrganizer.exe
19+
- path: build\src\ModOrganizer.exe
1820
name: modorganizer_exe
19-
- path: vsbuild\src\RelWithDebInfo\ModOrganizer.pdb
21+
- path: build\src\ModOrganizer.pdb
2022
name: modorganizer_pdb
2123
on_success:
2224
- ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER
2325
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
2426
- ps: ./send.ps1 success $env:WEBHOOK_URL
2527
on_failure:
2628
- ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER
29+
- ps: Push-AppveyorArtifact ${env:APPVEYOR_BUILD_FOLDER}\stdout.log
30+
- ps: Push-AppveyorArtifact ${env:APPVEYOR_BUILD_FOLDER}\stderr.log
2731
- ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
28-
- ps: ./send.ps1 failure $env:WEBHOOK_URL
32+
- ps: ./send.ps1 failure $env:WEBHOOK_URL

dump_running_process.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pushd "%~dp0"
2+
start ModOrganizer.exe --crashdump

0 commit comments

Comments
 (0)