This commit is contained in:
JustArchi
2016-08-30 13:46:42 +02:00
parent e606ca05ed
commit abde04cc83
3 changed files with 6 additions and 6 deletions

View File

@@ -188,8 +188,8 @@
copy "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out\ASF.exe"
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' ">
if [[ -f "$(SolutionDir)/mono_envsetup.sh" ]]; then
source "$(SolutionDir)/mono_envsetup.sh"
if [[ -f "$(SolutionDir)mono_envsetup.sh" ]]; then
source "$(SolutionDir)mono_envsetup.sh"
fi
mkdir -p "$(SolutionDir)out/config"

View File

@@ -123,8 +123,8 @@
copy "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out\ASF-ConfigGenerator.exe"
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' ">
if [[ -f "$(SolutionDir)/mono_envsetup.sh" ]]; then
source "$(SolutionDir)/mono_envsetup.sh"
if [[ -f "$(SolutionDir)mono_envsetup.sh" ]]; then
source "$(SolutionDir)mono_envsetup.sh"
fi
mono --llvm --server -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-ConfigGenerator.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll"

View File

@@ -208,8 +208,8 @@
copy "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out\ASF-GUI.exe"
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' ">
if [[ -f "$(SolutionDir)/mono_envsetup.sh" ]]; then
source "$(SolutionDir)/mono_envsetup.sh"
if [[ -f "$(SolutionDir)mono_envsetup.sh" ]]; then
source "$(SolutionDir)mono_envsetup.sh"
fi
mono --llvm --server -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-GUI.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll"