Skip to content

Commit

Permalink
Update windows
Browse files Browse the repository at this point in the history
  • Loading branch information
brynpickering committed Dec 4, 2023
1 parent 7696fa4 commit fa4a1f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
14 changes: 4 additions & 10 deletions xml2/bld.bat
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
copy %RECIPE_DIR%\unistd.h %SRC_DIR% || exit 1

mkdir build
cd build
cmake -G "NMake Makefiles" ^
-D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-D CMAKE_BUILD_TYPE=Release ^
%SRC_DIR%
if errorlevel 1 exit 1

nmake xml2 || exit 1
nmake 2csv || exit 1
echo "xml2"
make "xml2"
echo "2csv"
make "2csv"

mkdir -p %PREFIX/Library/bin || exit 1
copy "xml2" "2csv" %PREFIX/Library/bin || exit 1
3 changes: 1 addition & 2 deletions xml2/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ build:
requirements:
build:
- {{ compiler('c') }}
- cmake # [win]
- make # [not win]
- make
host:
- libxml2
run:
Expand Down

0 comments on commit fa4a1f8

Please sign in to comment.