diff options
-rw-r--r-- | appveyor.yml | 7 | ||||
-rw-r--r-- | utils/CMakeLists.txt | 2 |
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) |