Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1583 from mhutch/build-fixup
Browse files Browse the repository at this point in the history
Improve command-line builds
  • Loading branch information
Therzok committed Aug 25, 2016
2 parents e5260d6 + 0285081 commit c423d73
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions main/before.Main.sln.targets
@@ -0,0 +1,19 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<!--
Ensure that when a configuration is not provided, we use a good default
for the current OS.
-->
<Choose Condition="'$(Configuration)'==''">
<When Condition="'$(OS)'!='Unix'">
<PropertyGroup>
<Configuration>DebugWin32</Configuration>
</PropertyGroup>
</When>
<When Condition="Exists('/System/Library/Frameworks/CoreFoundation.framework')">
<PropertyGroup>
<Configuration>DebugMac</Configuration>
</PropertyGroup>
</When>
</Choose>
</Project>
4 changes: 2 additions & 2 deletions main/configure.in
Expand Up @@ -191,8 +191,8 @@ AM_CONDITIONAL(ENABLE_GIT, test x$enable_git = xyes)

AC_ARG_ENABLE(release,
AC_HELP_STRING([--enable-release],
[build release mode [default=yes]]),
enable_release=${enableval}, enable_release=yes)
[build release mode [default=no]]),
enable_release=${enableval}, enable_release=no)

AM_CONDITIONAL(RELEASE_BUILDS, [test x$enable_release = xyes])

Expand Down

0 comments on commit c423d73

Please sign in to comment.