From: bel2125 Date: Wed, 30 Aug 2017 11:13:05 +0000 (+0200) Subject: Test additional AppVeyor builds X-Git-Tag: 0.12.0~4^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e8f7b4fc9abce3d5da0b6a9157e2392ab0ab088;p=check Test additional AppVeyor builds --- diff --git a/appveyor.yml b/appveyor.yml index 44c5193..ef73d92 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -105,6 +105,7 @@ before_build: - if %platform%==vs ( set "makecommand=Visual Studio" ) + - set "vcx=false" - if %platform%==vs ( set "vcx=true" ) @@ -172,20 +173,15 @@ before_build: build_script: # build code and unit tests + - dir - if %platform%==msvc nmake - - if %platform%==vs ( - if %vcx%==true ( - msbuild /p:Platform=%arch% "ALL_BUILD.vcxproj" - ) - ) - - if %platform%==vs ( - if %vcx%==false ( - msbuild "ALL_BUILD.vcproj" - ) - ) - if %platform%==cygwin bash -c "make" - if %platform%==mingw32 mingw32-make - if %platform%==mingw64msys bash -c "make" + - if %vcx%==true msbuild /p:Platform=%arch% "ALL_BUILD.vcxproj" + +# TODO: msbuild does not work with .vcproj files + test_script: # run unit tests diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 1eed224..fabfdf2 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -21,7 +21,7 @@ set(SOURCES libcompat.c) -set(SOURCES fpclassify.c) +set(SOURCES ${SOURCES} fpclassify.c) if (NOT HAVE_LIBRT) set(SOURCES ${SOURCES} clock_gettime.c)