aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-15 13:38:19 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-15 14:21:40 +0300
commite2e340654791cbc17add4d7cd590537690c7e966 (patch)
tree87392f0ede910c72db42722458691833dfd82632
parentAppVeyor: switch to cmake/build (diff)
downloadwinapi-debug-e2e340654791cbc17add4d7cd590537690c7e966.tar.gz
winapi-debug-e2e340654791cbc17add4d7cd590537690c7e966.zip
AppVeyor: package artifacts
-rw-r--r--appveyor.yml7
-rw-r--r--utils/CMakeLists.txt2
2 files changed, 8 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index ffde1ad..3917982 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -7,6 +7,7 @@ image:
environment:
python_exe: C:\Python36-x64\python.exe
+ install_dir: C:\Projects\install\pdb-repo
platform:
- Win32
@@ -20,7 +21,11 @@ install:
- git submodule update --init --recursive
build_script:
- - '"%python_exe%" cmake\build\build_appveyor.py --boost "%appveyor_boost_root%" --boost-librarydir "%appveyor_boost_librarydir%"'
+ - '"%python_exe%" cmake\build\build_appveyor.py --install "%install_dir%" --boost "%appveyor_boost_root%" --boost-librarydir "%appveyor_boost_librarydir%"'
+
+after_build:
+ - 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" "%install_dir%"
+ - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip"
for:
# Only build Release builds on master to speed things up:
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index c4283f4..6d1d6b9 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -11,3 +11,5 @@ target_link_libraries(name2addr PRIVATE pdb_repo ${Boost_LIBRARIES})
add_executable(addr2name addr2name.cpp command_line.hpp pdb_descr.hpp)
target_include_directories(addr2name SYSTEM PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(addr2name PRIVATE pdb_repo ${Boost_LIBRARIES})
+
+install(TARGETS enum_symbols name2addr addr2name RUNTIME DESTINATION bin)