diff options
author | Marius Ungureanu <teromario@yahoo.com> | 2016-08-25 17:57:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-25 17:57:53 +0300 |
commit | c423d73ab6837837a95d34c696a34a67da6591f9 (patch) | |
tree | aa52cbca320d8da74e4433d6e40d08e426ca71cb /main | |
parent | e5260d6849272071b5be5c2f417b76037493b21e (diff) | |
parent | 02850812ea52f66fc5820f668575dd92da9afbc1 (diff) |
Merge pull request #1583 from mhutch/build-fixup
Improve command-line builds
Diffstat (limited to 'main')
-rw-r--r-- | main/before.Main.sln.targets | 19 | ||||
-rw-r--r-- | main/configure.in | 4 |
2 files changed, 21 insertions, 2 deletions
diff --git a/main/before.Main.sln.targets b/main/before.Main.sln.targets new file mode 100644 index 0000000000..100a95d8d1 --- /dev/null +++ b/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> diff --git a/main/configure.in b/main/configure.in index 49019ce4c7..8c170dec7a 100644 --- a/main/configure.in +++ b/main/configure.in @@ -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]) |