Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
shiroinekotfs committed Nov 23, 2024
1 parent e4690b6 commit 4b3c745
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
> Welcome to GNU Windows
>
> This dlfcn requires GNU Windows builds to be installed.
>
>
> This dlfcn requires GNU Windows builds to be installed. Can use `build.cmd` to run `cmake` build automatically
>
> Additional build/lib need to be installed (put all into the GNU Windows `bin` folder):
> + `cmake`
Expand Down
10 changes: 10 additions & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off
cd /d "%~dp0"

md .bin
md .cmake

cd .cmake
cmake -G "Unix Makefiles" -DALSOFT_NO_CONFIG_UTIL=ON -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX="../.bin" -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE ..
make -j4
make DESTDIR="../.bin" install

0 comments on commit 4b3c745

Please sign in to comment.