Skip to content

Commit

Permalink
added a build script, tidy ups
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotlinski committed Feb 11, 2021
1 parent 69fa7cf commit a0e7bdf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
CMakeCache.txt
CMakeFiles
CPackConfig.cmake
CPackSourceConfig.cmake
Makefile
cmake_install.cmake
lsdpack.exe
Expand Down
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required (VERSION 3.1)
project (lsdpack)

set(CPACK_PACKAGE_VENDOR "Johan Kotlinski")

set(CPACK_PACKAGE_VERSION_MAJOR 0)
set(CPACK_PACKAGE_VERSION_MINOR 0)
set(CPACK_PACKAGE_VERSION_PATCH 3)
Expand Down
8 changes: 8 additions & 0 deletions win-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rm -rf bin
mkdir bin
pushd bin

/c/Program\ Files/CMake/bin/cmake.exe ..
/c/Program\ Files/CMake/bin/cmake.exe --build . --config Release --target PACKAGE

popd

0 comments on commit a0e7bdf

Please sign in to comment.