Skip to content

Commit 2897884

Browse files
committed
Enabled portable build for Windows.
1 parent 6d253a3 commit 2897884

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ set(CPACK_PACKAGE_VERSION_PATCH "${BIN2CPP_VERSION_PATCH}")
186186
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "bin2cpp: The easiest way to embed small files into a c++ executable. bin2cpp converts text or binary files to C++ files (*.h, *.cpp) for easy access within the code.")
187187
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
188188
set(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README.md")
189+
set(CPACK_GENERATOR "ZIP;NSIS")
189190

190191
# we don't want to split our program up into several things
191192
set(CPACK_MONOLITHIC_INSTALL 1)

appveyor.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,5 @@ test_script:
7272
#---------------------------------#
7373

7474
artifacts:
75-
- path: .\build\bin\Release\bin2cpptest.x86.release.xml
76-
name: bin2cpptest..x86.release.xml
77-
- path: .\build\bin2cpp-*-win32.exe
78-
name: bin2cpp-win32.exe
75+
- path: .\build\bin\Release\bin2cpptest.*.release.xml
76+
- path: .\build\bin2cpp-*-win*.*

0 commit comments

Comments
 (0)