5 Commits

70 changed files with 226 additions and 522 deletions

View File

@ -1,3 +1,58 @@
## v0.1.8.4 (2025-08-29)
### Breaking Changes
- **Binary Renaming**: Renamed all binaries from `privatebinapi.*` to `libprivatebin.*`
- `privatebinapi.dll``libprivatebin.dll`
- `privatebinapi.lib``libprivatebin.lib`
- `privatebinapi.exp``libprivatebin.exp`
- **Header Renaming**: Renamed main header file from `privatebinapi.h` to `libprivatebin.h`
- **Source Renaming**: Renamed main source file from `privatebinapi.cpp` to `libprivatebin.cpp`
### Project Restructuring
- **Project Name**: Changed from `PrivateBinAPI` to `LibPrivateBin`
- **Target Names**: Updated all CMake targets to use `libprivatebin` naming convention
- **Include Paths**: Updated all include statements throughout the codebase
- **Build Scripts**: Updated all build and release scripts to reference new binary names
### Technical Improvements
- **Consistent Naming**: Unified naming convention across all project components
- **Build System**: Updated CMakeLists.txt files in main project, examples, and tests
- **Script Updates**: All PowerShell scripts updated to handle new binary names
- **Documentation**: Updated README.md examples with new include paths
### Compatibility Notes
- **API Compatibility**: No functional changes to the API - only naming changes
- **Source Code**: Existing code using the old names will need to be updated
- **Build Process**: Clean build required after renaming changes
## v0.1.7.4 (2025-08-29)
### New Features
- **Automated Release System**: Complete PowerShell script for automated releases
- **LLVM Code Coverage**: Integrated LLVM coverage reporting with clang-cl builds
- **Intelligent Tag Incrementation**: Automatic detection of next available version tag
- **Comprehensive Testing**: Integration tests against live PrivateBin server
- **Build Artifact Collection**: Automated collection and upload of build artifacts
### Technical Improvements
- **Release Automation**: Full CI/CD pipeline with Gitea API integration
- **Coverage Reports**: HTML coverage reports generated and packaged as artifacts
- **Remote Detection**: Smart Git remote detection (origin > upstream > first available)
- **Error Handling**: Robust error handling and validation throughout the process
- **PowerShell Scripts**: Clean, maintainable PowerShell automation scripts
### Build System
- **CMake Integration**: Enhanced CMakeLists.txt with LLVM coverage support
- **Cross-Platform**: Improved Windows and Linux build compatibility
- **Dependency Management**: Better vcpkg and system package integration
- **Test Framework**: Comprehensive CTest integration with coverage targets
### Documentation
- **Release Process**: Complete documentation of automated release workflow
- **Build Instructions**: Platform-specific build and test instructions
- **API Examples**: Enhanced examples for all supported text formats
- **Testing Guide**: Integration testing setup and execution guide
## v0.1.1.5 (2025-08-28) ## v0.1.1.5 (2025-08-28)
### New Features ### New Features

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10) cmake_minimum_required(VERSION 3.10)
project(PrivateBinAPI) project(LibPrivateBin)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
@ -30,7 +30,7 @@ endif()
# Add library sources # Add library sources
set(SOURCES set(SOURCES
src/privatebinapi.cpp src/libprivatebin.cpp
src/http_client.cpp src/http_client.cpp
src/crypto.cpp src/crypto.cpp
src/json_parser.cpp src/json_parser.cpp
@ -38,7 +38,7 @@ set(SOURCES
) )
set(HEADERS set(HEADERS
include/privatebinapi.h include/libprivatebin.h
include/http_client.h include/http_client.h
include/crypto.h include/crypto.h
include/json_parser.h include/json_parser.h
@ -46,20 +46,20 @@ set(HEADERS
) )
# Create the shared library # Create the shared library
add_library(privatebinapi SHARED ${SOURCES} ${HEADERS}) add_library(libprivatebin SHARED ${SOURCES} ${HEADERS})
# Define PRIVATEBINAPI_EXPORTS for the library build # Define PRIVATEBINAPI_EXPORTS for the library build
target_compile_definitions(privatebinapi PRIVATE PRIVATEBINAPI_EXPORTS) target_compile_definitions(libprivatebin PRIVATE PRIVATEBINAPI_EXPORTS)
# Include directories # Include directories
target_include_directories(privatebinapi PUBLIC target_include_directories(libprivatebin PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include
) )
# Platform-specific include directories # Platform-specific include directories
if(WIN32) if(WIN32)
# Windows: Include vcpkg directories # Windows: Include vcpkg directories
target_include_directories(privatebinapi PRIVATE target_include_directories(libprivatebin PRIVATE
${CMAKE_CURRENT_BINARY_DIR}/vcpkg_installed/x64-windows/include ${CMAKE_CURRENT_BINARY_DIR}/vcpkg_installed/x64-windows/include
) )
endif() endif()
@ -67,32 +67,32 @@ endif()
# Link dependencies # Link dependencies
if(WIN32) if(WIN32)
# Windows: Use vcpkg targets # Windows: Use vcpkg targets
target_link_libraries(privatebinapi PRIVATE target_link_libraries(libprivatebin PRIVATE
cryptopp::cryptopp cryptopp::cryptopp
nlohmann_json::nlohmann_json nlohmann_json::nlohmann_json
${PLATFORM_LIBS} ${PLATFORM_LIBS}
) )
else() else()
# Linux: Use system libraries # Linux: Use system libraries
target_link_libraries(privatebinapi PRIVATE target_link_libraries(libprivatebin PRIVATE
${CRYPTOPP_LIBRARIES} ${CRYPTOPP_LIBRARIES}
${NLOHMANN_JSON_LIBRARIES} ${NLOHMANN_JSON_LIBRARIES}
${PLATFORM_LIBS} ${PLATFORM_LIBS}
) )
target_include_directories(privatebinapi PRIVATE target_include_directories(libprivatebin PRIVATE
${CRYPTOPP_INCLUDE_DIRS} ${CRYPTOPP_INCLUDE_DIRS}
${NLOHMANN_JSON_INCLUDE_DIRS} ${NLOHMANN_JSON_INCLUDE_DIRS}
) )
endif() endif()
# Install targets # Install targets
install(TARGETS privatebinapi install(TARGETS libprivatebin
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
LIBRARY DESTINATION lib LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib ARCHIVE DESTINATION lib
) )
install(FILES ${HEADERS} DESTINATION include/privatebinapi) install(FILES ${HEADERS} DESTINATION include/libprivatebin)
# Tests # Tests
include(CTest) include(CTest)
@ -109,8 +109,8 @@ if(ENABLE_LLVM_COVERAGE)
endif() endif()
# Instrumentation flags auf konkrete Targets anwenden (bereits definierte Targets) # Instrumentation flags auf konkrete Targets anwenden (bereits definierte Targets)
if(TARGET privatebinapi) if(TARGET libprivatebin)
target_compile_options(privatebinapi PRIVATE -fprofile-instr-generate -fcoverage-mapping) target_compile_options(libprivatebin PRIVATE -fprofile-instr-generate -fcoverage-mapping)
endif() endif()
if(TARGET test_basic) if(TARGET test_basic)
target_compile_options(test_basic PRIVATE -fprofile-instr-generate -fcoverage-mapping) target_compile_options(test_basic PRIVATE -fprofile-instr-generate -fcoverage-mapping)
@ -132,9 +132,9 @@ if(ENABLE_LLVM_COVERAGE)
ctest -C $<IF:$<CONFIG:>,${CMAKE_BUILD_TYPE},$<CONFIG>> --output-on-failure ctest -C $<IF:$<CONFIG:>,${CMAKE_BUILD_TYPE},$<CONFIG>> --output-on-failure
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/coverage COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/coverage
COMMAND ${LLVM_PROFDATA} merge -sparse ${CMAKE_BINARY_DIR}/coverage/*.profraw -o ${CMAKE_BINARY_DIR}/coverage/merged.profdata COMMAND ${LLVM_PROFDATA} merge -sparse ${CMAKE_BINARY_DIR}/coverage/*.profraw -o ${CMAKE_BINARY_DIR}/coverage/merged.profdata
COMMAND ${LLVM_COV} report $<TARGET_FILE:privatebinapi> --instr-profile=${CMAKE_BINARY_DIR}/coverage/merged.profdata --ignore-filename-regex="(vcpkg^|external^|CMakeFiles)" COMMAND ${LLVM_COV} report $<TARGET_FILE:libprivatebin> --instr-profile=${CMAKE_BINARY_DIR}/coverage/merged.profdata --ignore-filename-regex="(vcpkg^|external^|CMakeFiles)"
COMMAND ${LLVM_COV} show $<TARGET_FILE:privatebinapi> --instr-profile=${CMAKE_BINARY_DIR}/coverage/merged.profdata --ignore-filename-regex="(vcpkg^|external^|CMakeFiles)" --format=html --output-dir=${CMAKE_BINARY_DIR}/coverage/html COMMAND ${LLVM_COV} show $<TARGET_FILE:libprivatebin> --instr-profile=${CMAKE_BINARY_DIR}/coverage/merged.profdata --ignore-filename-regex="(vcpkg^|external^|CMakeFiles)" --format=html --output-dir=${CMAKE_BINARY_DIR}/coverage/html
WORKING_DIRECTORY ${CMAKE_BINARY_DIR} WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
DEPENDS privatebinapi DEPENDS libprivatebin
) )
endif() endif()

View File

@ -27,7 +27,7 @@ The library supports multiple text formats as defined in the [PrivateBin API v1.
### Format Usage ### Format Usage
```c ```c
#include "privatebinapi.h" #include "libprivatebin.h"
// Plain text format // Plain text format
create_paste(server, content, password, expiration, "plaintext", 0, 0, &url, &token); create_paste(server, content, password, expiration, "plaintext", 0, 0, &url, &token);
@ -250,7 +250,7 @@ The library supports multiple text formats as defined in the [PrivateBin API v1.
#### Basic Example #### Basic Example
```c ```c
#include "privatebinapi.h" #include "libprivatebin.h"
char* paste_url = nullptr; char* paste_url = nullptr;
char* delete_token = nullptr; char* delete_token = nullptr;

View File

@ -178,9 +178,9 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<Project>{F380F865-A305-3E4D-8D5B-FB8D33192EC2}</Project> <Project>{F380F865-A305-3E4D-8D5B-FB8D33192EC2}</Project>
<Name>example</Name> <Name>example</Name>
</ProjectReference> </ProjectReference>
<ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\privatebinapi.vcxproj"> <ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\libprivatebin.vcxproj">
<Project>{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}</Project> <Project>{F7375EBF-3777-35B1-B163-0BF71FADB554}</Project>
<Name>privatebinapi</Name> <Name>libprivatebin</Name>
</ProjectReference> </ProjectReference>
<ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\tests\test_basic.vcxproj"> <ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\tests\test_basic.vcxproj">
<Project>{C3F88C47-123F-3064-9A29-E5E341930946}</Project> <Project>{C3F88C47-123F-3064-9A29-E5E341930946}</Project>

View File

@ -5,7 +5,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ALL_BUILD", "ALL_BUILD.vcxp
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}
{F380F865-A305-3E4D-8D5B-FB8D33192EC2} = {F380F865-A305-3E4D-8D5B-FB8D33192EC2} {F380F865-A305-3E4D-8D5B-FB8D33192EC2} = {F380F865-A305-3E4D-8D5B-FB8D33192EC2}
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E} = {9A1DC603-1A2A-3786-BA4E-F6582D1A878E} {F7375EBF-3777-35B1-B163-0BF71FADB554} = {F7375EBF-3777-35B1-B163-0BF71FADB554}
{C3F88C47-123F-3064-9A29-E5E341930946} = {C3F88C47-123F-3064-9A29-E5E341930946} {C3F88C47-123F-3064-9A29-E5E341930946} = {C3F88C47-123F-3064-9A29-E5E341930946}
EndProjectSection EndProjectSection
EndProject EndProject
@ -47,16 +47,16 @@ EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "coverage_llvm", "coverage_llvm.vcxproj", "{DAB46045-C08F-3736-8C3A-C8BB835BF456}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "coverage_llvm", "coverage_llvm.vcxproj", "{DAB46045-C08F-3736-8C3A-C8BB835BF456}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E} = {9A1DC603-1A2A-3786-BA4E-F6582D1A878E} {F7375EBF-3777-35B1-B163-0BF71FADB554} = {F7375EBF-3777-35B1-B163-0BF71FADB554}
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example", "example\example.vcxproj", "{F380F865-A305-3E4D-8D5B-FB8D33192EC2}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example", "example\example.vcxproj", "{F380F865-A305-3E4D-8D5B-FB8D33192EC2}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E} = {9A1DC603-1A2A-3786-BA4E-F6582D1A878E} {F7375EBF-3777-35B1-B163-0BF71FADB554} = {F7375EBF-3777-35B1-B163-0BF71FADB554}
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "privatebinapi", "privatebinapi.vcxproj", "{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libprivatebin", "libprivatebin.vcxproj", "{F7375EBF-3777-35B1-B163-0BF71FADB554}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}
EndProjectSection EndProjectSection
@ -64,7 +64,7 @@ EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_basic", "tests\test_basic.vcxproj", "{C3F88C47-123F-3064-9A29-E5E341930946}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_basic", "tests\test_basic.vcxproj", "{C3F88C47-123F-3064-9A29-E5E341930946}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E} = {9A1DC603-1A2A-3786-BA4E-F6582D1A878E} {F7375EBF-3777-35B1-B163-0BF71FADB554} = {F7375EBF-3777-35B1-B163-0BF71FADB554}
EndProjectSection EndProjectSection
EndProject EndProject
Global Global
@ -127,14 +127,14 @@ Global
{F380F865-A305-3E4D-8D5B-FB8D33192EC2}.MinSizeRel|x64.Build.0 = MinSizeRel|x64 {F380F865-A305-3E4D-8D5B-FB8D33192EC2}.MinSizeRel|x64.Build.0 = MinSizeRel|x64
{F380F865-A305-3E4D-8D5B-FB8D33192EC2}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64 {F380F865-A305-3E4D-8D5B-FB8D33192EC2}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{F380F865-A305-3E4D-8D5B-FB8D33192EC2}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 {F380F865-A305-3E4D-8D5B-FB8D33192EC2}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Debug|x64.ActiveCfg = Debug|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Debug|x64.ActiveCfg = Debug|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Debug|x64.Build.0 = Debug|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Debug|x64.Build.0 = Debug|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Release|x64.ActiveCfg = Release|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Release|x64.ActiveCfg = Release|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Release|x64.Build.0 = Release|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Release|x64.Build.0 = Release|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.MinSizeRel|x64.Build.0 = MinSizeRel|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.MinSizeRel|x64.Build.0 = MinSizeRel|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
{C3F88C47-123F-3064-9A29-E5E341930946}.Debug|x64.ActiveCfg = Debug|x64 {C3F88C47-123F-3064-9A29-E5E341930946}.Debug|x64.ActiveCfg = Debug|x64
{C3F88C47-123F-3064-9A29-E5E341930946}.Debug|x64.Build.0 = Debug|x64 {C3F88C47-123F-3064-9A29-E5E341930946}.Debug|x64.Build.0 = Debug|x64
{C3F88C47-123F-3064-9A29-E5E341930946}.Release|x64.ActiveCfg = Release|x64 {C3F88C47-123F-3064-9A29-E5E341930946}.Release|x64.ActiveCfg = Release|x64
@ -145,7 +145,7 @@ Global
{C3F88C47-123F-3064-9A29-E5E341930946}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 {C3F88C47-123F-3064-9A29-E5E341930946}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {49E13BA4-03A5-3A25-91BA-BB8FBDCDC930} SolutionGuid = {F14B2BBB-D8DD-3B06-82A5-17652260B5B2}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection EndGlobalSection

View File

@ -1,3 +1,4 @@
test_basic 16 0.41918 test_basic 0 0
example_run 0 0 example_run 0 0
--- ---
test_basic

View File

@ -113,7 +113,7 @@
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</BuildInParallel> <BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</BuildInParallel>
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Checking Build System</Message> <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Checking Build System</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">setlocal <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">setlocal
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/PrivateBinAPI.sln "C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/LibPrivateBin.sln
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -127,7 +127,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</BuildInParallel> <BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</BuildInParallel>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Checking Build System</Message> <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Checking Build System</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">setlocal <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">setlocal
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/PrivateBinAPI.sln "C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/LibPrivateBin.sln
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -141,7 +141,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">true</BuildInParallel> <BuildInParallel Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">true</BuildInParallel>
<Message Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">Checking Build System</Message> <Message Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">Checking Build System</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">setlocal <Command Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">setlocal
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/PrivateBinAPI.sln "C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/LibPrivateBin.sln
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -155,7 +155,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">true</BuildInParallel> <BuildInParallel Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">true</BuildInParallel>
<Message Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">Checking Build System</Message> <Message Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">Checking Build System</Message>
<Command Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">setlocal <Command Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">setlocal
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/PrivateBinAPI.sln "C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/LibPrivateBin.sln
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone

View File

@ -1,99 +0,0 @@
function next_uncovered(selector, reverse, scroll_selector) {
function visit_element(element) {
element.classList.add("seen");
element.classList.add("selected");
if (!scroll_selector) {
scroll_selector = "tr:has(.selected) td.line-number"
}
const scroll_to = document.querySelector(scroll_selector);
if (scroll_to) {
scroll_to.scrollIntoView({behavior: "smooth", block: "center", inline: "end"});
}
}
function select_one() {
if (!reverse) {
const previously_selected = document.querySelector(".selected");
if (previously_selected) {
previously_selected.classList.remove("selected");
}
return document.querySelector(selector + ":not(.seen)");
} else {
const previously_selected = document.querySelector(".selected");
if (previously_selected) {
previously_selected.classList.remove("selected");
previously_selected.classList.remove("seen");
}
const nodes = document.querySelectorAll(selector + ".seen");
if (nodes) {
const last = nodes[nodes.length - 1]; // last
return last;
} else {
return undefined;
}
}
}
function reset_all() {
if (!reverse) {
const all_seen = document.querySelectorAll(selector + ".seen");
if (all_seen) {
all_seen.forEach(e => e.classList.remove("seen"));
}
} else {
const all_seen = document.querySelectorAll(selector + ":not(.seen)");
if (all_seen) {
all_seen.forEach(e => e.classList.add("seen"));
}
}
}
const uncovered = select_one();
if (uncovered) {
visit_element(uncovered);
} else {
reset_all();
const uncovered = select_one();
if (uncovered) {
visit_element(uncovered);
}
}
}
function next_line(reverse) {
next_uncovered("td.uncovered-line", reverse)
}
function next_region(reverse) {
next_uncovered("span.red.region", reverse);
}
function next_branch(reverse) {
next_uncovered("span.red.branch", reverse);
}
document.addEventListener("keypress", function(event) {
const reverse = event.shiftKey;
if (event.code == "KeyL") {
next_line(reverse);
}
if (event.code == "KeyB") {
next_branch(reverse);
}
if (event.code == "KeyR") {
next_region(reverse);
}
});

View File

@ -1 +0,0 @@
<!doctype html><html><head><meta name='viewport' content='width=device-width,initial-scale=1'><meta charset='UTF-8'><link rel='stylesheet' type='text/css' href='style.css'><script src='control.js'></script></head><body><h2>Coverage Report</h2><h4>Created: 2025-08-29 12:50</h4><p>Click <a href='http://clang.llvm.org/docs/SourceBasedCodeCoverage.html#interpreting-reports'>here</a> for information about interpreting this report.</p><div class='centered'><table><tr><td class='column-entry-bold'>Filename</td><td class='column-entry-bold'>Function Coverage</td><td class='column-entry-bold'>Line Coverage</td><td class='column-entry-bold'>Region Coverage</td><td class='column-entry-bold'>Branch Coverage</td></tr><tr class='light-row'><td><pre><a href='coverage\Users\mbusc\source\repos\privatebin-cpp\src\base58.cpp.html'>base58.cpp</a></pre></td><td class='column-entry-red'><pre> 0.00% (0/2)</pre></td><td class='column-entry-red'><pre> 0.00% (0/67)</pre></td><td class='column-entry-red'><pre> 0.00% (0/48)</pre></td><td class='column-entry-red'><pre> 0.00% (0/34)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage\Users\mbusc\source\repos\privatebin-cpp\src\crypto.cpp.html'>crypto.cpp</a></pre></td><td class='column-entry-red'><pre> 66.67% (4/6)</pre></td><td class='column-entry-red'><pre> 56.19% (59/105)</pre></td><td class='column-entry-red'><pre> 36.84% (7/19)</pre></td><td class='column-entry-red'><pre> 0.00% (0/2)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage\Users\mbusc\source\repos\privatebin-cpp\src\http_client.cpp.html'>http_client.cpp</a></pre></td><td class='column-entry-green'><pre> 100.00% (5/5)</pre></td><td class='column-entry-red'><pre> 51.67% (186/360)</pre></td><td class='column-entry-red'><pre> 66.67% (170/255)</pre></td><td class='column-entry-red'><pre> 41.38% (48/116)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage\Users\mbusc\source\repos\privatebin-cpp\src\json_parser.cpp.html'>json_parser.cpp</a></pre></td><td class='column-entry-green'><pre> 100.00% (5/5)</pre></td><td class='column-entry-yellow'><pre> 84.21% (80/95)</pre></td><td class='column-entry-red'><pre> 71.88% (23/32)</pre></td><td class='column-entry-red'><pre> 50.00% (7/14)</pre></td></tr><tr class='light-row'><td><pre><a href='coverage\Users\mbusc\source\repos\privatebin-cpp\src\privatebinapi.cpp.html'>privatebinapi.cpp</a></pre></td><td class='column-entry-red'><pre> 50.00% (3/6)</pre></td><td class='column-entry-red'><pre> 27.01% (57/211)</pre></td><td class='column-entry-red'><pre> 28.15% (38/135)</pre></td><td class='column-entry-red'><pre> 21.43% (15/70)</pre></td></tr><tr class='light-row-bold'><td><pre>Totals</pre></td><td class='column-entry-red'><pre> 70.83% (17/24)</pre></td><td class='column-entry-red'><pre> 45.58% (382/838)</pre></td><td class='column-entry-red'><pre> 48.67% (238/489)</pre></td><td class='column-entry-red'><pre> 29.66% (70/236)</pre></td></tr></table></div><h5>Generated by llvm-cov -- llvm version 21.1.0</h5></body></html>

View File

@ -1,194 +0,0 @@
.red {
background-color: #f004;
}
.cyan {
background-color: cyan;
}
html {
scroll-behavior: smooth;
}
body {
font-family: -apple-system, sans-serif;
}
pre {
margin-top: 0px !important;
margin-bottom: 0px !important;
}
.source-name-title {
padding: 5px 10px;
border-bottom: 1px solid #8888;
background-color: #0002;
line-height: 35px;
}
.centered {
display: table;
margin-left: left;
margin-right: auto;
border: 1px solid #8888;
border-radius: 3px;
}
.expansion-view {
margin-left: 0px;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
border: 1px solid #8888;
border-radius: 3px;
}
table {
border-collapse: collapse;
}
.light-row {
border: 1px solid #8888;
border-left: none;
border-right: none;
}
.light-row-bold {
border: 1px solid #8888;
border-left: none;
border-right: none;
font-weight: bold;
}
.column-entry {
text-align: left;
}
.column-entry-bold {
font-weight: bold;
text-align: left;
}
.column-entry-yellow {
text-align: left;
background-color: #ff06;
}
.column-entry-red {
text-align: left;
background-color: #f004;
}
.column-entry-gray {
text-align: left;
background-color: #fff4;
}
.column-entry-green {
text-align: left;
background-color: #0f04;
}
.line-number {
text-align: right;
}
.covered-line {
text-align: right;
color: #06d;
}
.uncovered-line {
text-align: right;
color: #d00;
}
.uncovered-line.selected {
color: #f00;
font-weight: bold;
}
.region.red.selected {
background-color: #f008;
font-weight: bold;
}
.branch.red.selected {
background-color: #f008;
font-weight: bold;
}
.tooltip {
position: relative;
display: inline;
background-color: #bef;
text-decoration: none;
}
.tooltip span.tooltip-content {
position: absolute;
width: 100px;
margin-left: -50px;
color: #FFFFFF;
background: #000000;
height: 30px;
line-height: 30px;
text-align: center;
visibility: hidden;
border-radius: 6px;
}
.tooltip span.tooltip-content:after {
content: '';
position: absolute;
top: 100%;
left: 50%;
margin-left: -8px;
width: 0; height: 0;
border-top: 8px solid #000000;
border-right: 8px solid transparent;
border-left: 8px solid transparent;
}
:hover.tooltip span.tooltip-content {
visibility: visible;
opacity: 0.8;
bottom: 30px;
left: 50%;
z-index: 999;
}
th, td {
vertical-align: top;
padding: 2px 8px;
border-collapse: collapse;
border-right: 1px solid #8888;
border-left: 1px solid #8888;
text-align: left;
}
td pre {
display: inline-block;
text-decoration: inherit;
}
td:first-child {
border-left: none;
}
td:last-child {
border-right: none;
}
tr:hover {
background-color: #eee;
}
tr:last-child {
border-bottom: none;
}
tr:has(> td >a:target), tr:has(> td.uncovered-line.selected) {
background-color: #8884;
}
a {
color: inherit;
}
.control {
position: fixed;
top: 0em;
right: 0em;
padding: 1em;
background: #FFF8;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #222;
color: whitesmoke;
}
tr:hover {
background-color: #111;
}
.covered-line {
color: #39f;
}
.uncovered-line {
color: #f55;
}
.tooltip {
background-color: #068;
}
.control {
background: #2228;
}
tr:has(> td >a:target), tr:has(> td.uncovered-line.selected) {
background-color: #8884;
}
}

Binary file not shown.

Binary file not shown.

View File

@ -118,9 +118,9 @@ if %errorlevel% neq 0 goto :cmEnd
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata "C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) "C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles)
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html "C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -128,7 +128,7 @@ endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
exit /b %1 exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Debug\privatebinapi.dll;%(AdditionalInputs)</AdditionalInputs> <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Debug\libprivatebin.dll;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\CMakeFiles\coverage_llvm</Outputs> <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\CMakeFiles\coverage_llvm</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkObjects> <LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkObjects>
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</VerifyInputsAndOutputsExist> <VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</VerifyInputsAndOutputsExist>
@ -144,9 +144,9 @@ if %errorlevel% neq 0 goto :cmEnd
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata "C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) "C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles)
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html "C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -154,7 +154,7 @@ endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
exit /b %1 exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\privatebinapi.dll;%(AdditionalInputs)</AdditionalInputs> <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\libprivatebin.dll;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\CMakeFiles\coverage_llvm</Outputs> <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\CMakeFiles\coverage_llvm</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects> <LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects>
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</VerifyInputsAndOutputsExist> <VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</VerifyInputsAndOutputsExist>
@ -170,9 +170,9 @@ if %errorlevel% neq 0 goto :cmEnd
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata "C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) "C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles)
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html "C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -180,7 +180,7 @@ endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
exit /b %1 exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\MinSizeRel\privatebinapi.dll;%(AdditionalInputs)</AdditionalInputs> <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\MinSizeRel\libprivatebin.dll;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\CMakeFiles\coverage_llvm</Outputs> <Outputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\CMakeFiles\coverage_llvm</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">false</LinkObjects> <LinkObjects Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">false</LinkObjects>
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">false</VerifyInputsAndOutputsExist> <VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">false</VerifyInputsAndOutputsExist>
@ -196,9 +196,9 @@ if %errorlevel% neq 0 goto :cmEnd
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata "C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) "C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles)
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html "C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -206,7 +206,7 @@ endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
exit /b %1 exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\RelWithDebInfo\privatebinapi.dll;%(AdditionalInputs)</AdditionalInputs> <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\RelWithDebInfo\libprivatebin.dll;%(AdditionalInputs)</AdditionalInputs>
<Outputs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\CMakeFiles\coverage_llvm</Outputs> <Outputs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\CMakeFiles\coverage_llvm</Outputs>
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">false</LinkObjects> <LinkObjects Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">false</LinkObjects>
<VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">false</VerifyInputsAndOutputsExist> <VerifyInputsAndOutputsExist Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">false</VerifyInputsAndOutputsExist>
@ -281,9 +281,9 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly> <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<CopyToOutputDirectory>Never</CopyToOutputDirectory> <CopyToOutputDirectory>Never</CopyToOutputDirectory>
</ProjectReference> </ProjectReference>
<ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\privatebinapi.vcxproj"> <ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\libprivatebin.vcxproj">
<Project>{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}</Project> <Project>{F7375EBF-3777-35B1-B163-0BF71FADB554}</Project>
<Name>privatebinapi</Name> <Name>libprivatebin</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -25,10 +25,10 @@ EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example", "example.vcxproj", "{F380F865-A305-3E4D-8D5B-FB8D33192EC2}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example", "example.vcxproj", "{F380F865-A305-3E4D-8D5B-FB8D33192EC2}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E} = {9A1DC603-1A2A-3786-BA4E-F6582D1A878E} {F7375EBF-3777-35B1-B163-0BF71FADB554} = {F7375EBF-3777-35B1-B163-0BF71FADB554}
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "privatebinapi", "..\\privatebinapi.vcxproj", "{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libprivatebin", "..\\libprivatebin.vcxproj", "{F7375EBF-3777-35B1-B163-0BF71FADB554}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}
EndProjectSection EndProjectSection
@ -73,17 +73,17 @@ Global
{F380F865-A305-3E4D-8D5B-FB8D33192EC2}.MinSizeRel|x64.Build.0 = MinSizeRel|x64 {F380F865-A305-3E4D-8D5B-FB8D33192EC2}.MinSizeRel|x64.Build.0 = MinSizeRel|x64
{F380F865-A305-3E4D-8D5B-FB8D33192EC2}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64 {F380F865-A305-3E4D-8D5B-FB8D33192EC2}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{F380F865-A305-3E4D-8D5B-FB8D33192EC2}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 {F380F865-A305-3E4D-8D5B-FB8D33192EC2}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Debug|x64.ActiveCfg = Debug|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Debug|x64.ActiveCfg = Debug|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Debug|x64.Build.0 = Debug|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Debug|x64.Build.0 = Debug|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Release|x64.ActiveCfg = Release|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Release|x64.ActiveCfg = Release|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Release|x64.Build.0 = Release|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Release|x64.Build.0 = Release|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.MinSizeRel|x64.Build.0 = MinSizeRel|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.MinSizeRel|x64.Build.0 = MinSizeRel|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {13B94B8B-22F4-3557-AC04-51431A8595BC} SolutionGuid = {F2B6D5E5-7174-39FB-9275-6C09465274CF}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection EndGlobalSection

View File

@ -134,7 +134,7 @@ exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd if %errorlevel% neq 0 goto :VCEnd
setlocal setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/privatebinapi.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/example/Debug "C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/libprivatebin.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/example/Debug
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -144,7 +144,7 @@ exit /b %1
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
</PostBuildEvent> </PostBuildEvent>
<Link> <Link>
<AdditionalDependencies>..\Debug\privatebinapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies> <AdditionalDependencies>..\Debug\libprivatebin.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions> <AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
<DataExecutionPrevention></DataExecutionPrevention> <DataExecutionPrevention></DataExecutionPrevention>
@ -211,7 +211,7 @@ exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd if %errorlevel% neq 0 goto :VCEnd
setlocal setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/privatebinapi.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/example/Release "C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/libprivatebin.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/example/Release
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -221,7 +221,7 @@ exit /b %1
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
</PostBuildEvent> </PostBuildEvent>
<Link> <Link>
<AdditionalDependencies>..\Release\privatebinapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies> <AdditionalDependencies>..\Release\libprivatebin.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions> <AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
<DataExecutionPrevention></DataExecutionPrevention> <DataExecutionPrevention></DataExecutionPrevention>
@ -288,7 +288,7 @@ exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd if %errorlevel% neq 0 goto :VCEnd
setlocal setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/privatebinapi.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/example/MinSizeRel "C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/libprivatebin.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/example/MinSizeRel
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -298,7 +298,7 @@ exit /b %1
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
</PostBuildEvent> </PostBuildEvent>
<Link> <Link>
<AdditionalDependencies>..\MinSizeRel\privatebinapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies> <AdditionalDependencies>..\MinSizeRel\libprivatebin.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions> <AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
<DataExecutionPrevention></DataExecutionPrevention> <DataExecutionPrevention></DataExecutionPrevention>
@ -364,7 +364,7 @@ exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd if %errorlevel% neq 0 goto :VCEnd
setlocal setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/privatebinapi.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/example/RelWithDebInfo "C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/libprivatebin.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/example/RelWithDebInfo
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -374,7 +374,7 @@ exit /b %1
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
</PostBuildEvent> </PostBuildEvent>
<Link> <Link>
<AdditionalDependencies>..\RelWithDebInfo\privatebinapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies> <AdditionalDependencies>..\RelWithDebInfo\libprivatebin.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions> <AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
<DataExecutionPrevention></DataExecutionPrevention> <DataExecutionPrevention></DataExecutionPrevention>
@ -459,9 +459,9 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly> <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<CopyToOutputDirectory>Never</CopyToOutputDirectory> <CopyToOutputDirectory>Never</CopyToOutputDirectory>
</ProjectReference> </ProjectReference>
<ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\privatebinapi.vcxproj"> <ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\libprivatebin.vcxproj">
<Project>{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}</Project> <Project>{F7375EBF-3777-35B1-B163-0BF71FADB554}</Project>
<Name>privatebinapi</Name> <Name>libprivatebin</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -5,7 +5,7 @@
<FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\x64\Release\ZERO_CHECK</FullPath> <FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\x64\Release\ZERO_CHECK</FullPath>
</ProjectOutput> </ProjectOutput>
<ProjectOutput> <ProjectOutput>
<FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\privatebinapi.dll</FullPath> <FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\libprivatebin.dll</FullPath>
</ProjectOutput> </ProjectOutput>
</ProjectOutputs> </ProjectOutputs>
<ContentFiles /> <ContentFiles />

View File

@ -0,0 +1,5 @@
C:\Users\mbusc\source\repos\privatebin-cpp\src\libprivatebin.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\libprivatebin.dir\Release\libprivatebin.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\http_client.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\libprivatebin.dir\Release\http_client.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\crypto.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\libprivatebin.dir\Release\crypto.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\json_parser.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\libprivatebin.dir\Release\json_parser.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\base58.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\libprivatebin.dir\Release\base58.obj

View File

@ -0,0 +1,2 @@
^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\LIBPRIVATEBIN.DIR\RELEASE\BASE58.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\LIBPRIVATEBIN.DIR\RELEASE\CRYPTO.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\LIBPRIVATEBIN.DIR\RELEASE\HTTP_CLIENT.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\LIBPRIVATEBIN.DIR\RELEASE\JSON_PARSER.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\LIBPRIVATEBIN.DIR\RELEASE\LIBPRIVATEBIN.OBJ
C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\libprivatebin.lib

View File

@ -22,12 +22,12 @@
</ProjectConfiguration> </ProjectConfiguration>
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}</ProjectGuid> <ProjectGuid>{F7375EBF-3777-35B1-B163-0BF71FADB554}</ProjectGuid>
<Keyword>Win32Proj</Keyword> <Keyword>Win32Proj</Keyword>
<VcpkgEnabled>false</VcpkgEnabled> <VcpkgEnabled>false</VcpkgEnabled>
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion> <WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
<Platform>x64</Platform> <Platform>x64</Platform>
<ProjectName>privatebinapi</ProjectName> <ProjectName>libprivatebin</ProjectName>
<VCProjectUpgraderObjectName>NoUpgrade</VCProjectUpgraderObjectName> <VCProjectUpgraderObjectName>NoUpgrade</VCProjectUpgraderObjectName>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
@ -61,26 +61,26 @@
<PropertyGroup> <PropertyGroup>
<_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion> <_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Debug\</OutDir> <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Debug\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">privatebinapi.dir\Debug\</IntDir> <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">libprivatebin.dir\Debug\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">privatebinapi</TargetName> <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">libprivatebin</TargetName>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.dll</TargetExt> <TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.dll</TargetExt>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</GenerateManifest>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\</OutDir> <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">privatebinapi.dir\Release\</IntDir> <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">libprivatebin.dir\Release\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">privatebinapi</TargetName> <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">libprivatebin</TargetName>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.dll</TargetExt> <TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.dll</TargetExt>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</GenerateManifest>
<OutDir Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\MinSizeRel\</OutDir> <OutDir Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\MinSizeRel\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">privatebinapi.dir\MinSizeRel\</IntDir> <IntDir Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">libprivatebin.dir\MinSizeRel\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">privatebinapi</TargetName> <TargetName Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">libprivatebin</TargetName>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">.dll</TargetExt> <TargetExt Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">.dll</TargetExt>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">false</LinkIncremental> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">false</LinkIncremental>
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">true</GenerateManifest> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">true</GenerateManifest>
<OutDir Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\RelWithDebInfo\</OutDir> <OutDir Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\RelWithDebInfo\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">privatebinapi.dir\RelWithDebInfo\</IntDir> <IntDir Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">libprivatebin.dir\RelWithDebInfo\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">privatebinapi</TargetName> <TargetName Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">libprivatebin</TargetName>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">.dll</TargetExt> <TargetExt Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">.dll</TargetExt>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">true</LinkIncremental> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">true</LinkIncremental>
<GenerateManifest Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">true</GenerateManifest> <GenerateManifest Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">true</GenerateManifest>
@ -107,12 +107,12 @@
<TreatWChar_tAsBuiltInType></TreatWChar_tAsBuiltInType> <TreatWChar_tAsBuiltInType></TreatWChar_tAsBuiltInType>
<UseFullPaths>false</UseFullPaths> <UseFullPaths>false</UseFullPaths>
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR="Debug";privatebinapi_EXPORTS</PreprocessorDefinitions> <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR="Debug";libprivatebin_EXPORTS</PreprocessorDefinitions>
<ObjectFileName>$(IntDir)</ObjectFileName> <ObjectFileName>$(IntDir)</ObjectFileName>
<ScanSourceForModuleDependencies>false</ScanSourceForModuleDependencies> <ScanSourceForModuleDependencies>false</ScanSourceForModuleDependencies>
</ClCompile> </ClCompile>
<ResourceCompile> <ResourceCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_DEBUG;_WINDOWS;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR=\"Debug\";privatebinapi_EXPORTS</PreprocessorDefinitions> <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_DEBUG;_WINDOWS;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR=\"Debug\";libprivatebin_EXPORTS</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\mbusc\source\repos\privatebin-cpp\include;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\vcpkg_installed\x64-windows\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>C:\Users\mbusc\source\repos\privatebin-cpp\include;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\vcpkg_installed\x64-windows\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile> </ResourceCompile>
<Midl> <Midl>
@ -126,7 +126,7 @@
<PostBuildEvent> <PostBuildEvent>
<Message></Message> <Message></Message>
<Command>setlocal <Command>setlocal
"C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/Users/mbusc/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/privatebinapi.dll -installedDir C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/vcpkg_installed/x64-windows/debug/bin -OutVariable out "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/Users/mbusc/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/libprivatebin.dll -installedDir C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/vcpkg_installed/x64-windows/debug/bin -OutVariable out
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -143,9 +143,9 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ImageHasSafeExceptionHandlers></ImageHasSafeExceptionHandlers> <ImageHasSafeExceptionHandlers></ImageHasSafeExceptionHandlers>
<ImportLibrary>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/privatebinapi.lib</ImportLibrary> <ImportLibrary>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/libprivatebin.lib</ImportLibrary>
<LinkErrorReporting></LinkErrorReporting> <LinkErrorReporting></LinkErrorReporting>
<ProgramDataBaseFile>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/privatebinapi.pdb</ProgramDataBaseFile> <ProgramDataBaseFile>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/libprivatebin.pdb</ProgramDataBaseFile>
<RandomizedBaseAddress></RandomizedBaseAddress> <RandomizedBaseAddress></RandomizedBaseAddress>
<SubSystem></SubSystem> <SubSystem></SubSystem>
</Link> </Link>
@ -173,14 +173,14 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<TreatWChar_tAsBuiltInType></TreatWChar_tAsBuiltInType> <TreatWChar_tAsBuiltInType></TreatWChar_tAsBuiltInType>
<UseFullPaths>false</UseFullPaths> <UseFullPaths>false</UseFullPaths>
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR="Release";privatebinapi_EXPORTS</PreprocessorDefinitions> <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR="Release";libprivatebin_EXPORTS</PreprocessorDefinitions>
<ObjectFileName>$(IntDir)</ObjectFileName> <ObjectFileName>$(IntDir)</ObjectFileName>
<DebugInformationFormat> <DebugInformationFormat>
</DebugInformationFormat> </DebugInformationFormat>
<ScanSourceForModuleDependencies>false</ScanSourceForModuleDependencies> <ScanSourceForModuleDependencies>false</ScanSourceForModuleDependencies>
</ClCompile> </ClCompile>
<ResourceCompile> <ResourceCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR=\"Release\";privatebinapi_EXPORTS</PreprocessorDefinitions> <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR=\"Release\";libprivatebin_EXPORTS</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\mbusc\source\repos\privatebin-cpp\include;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\vcpkg_installed\x64-windows\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>C:\Users\mbusc\source\repos\privatebin-cpp\include;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\vcpkg_installed\x64-windows\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile> </ResourceCompile>
<Midl> <Midl>
@ -194,7 +194,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<PostBuildEvent> <PostBuildEvent>
<Message></Message> <Message></Message>
<Command>setlocal <Command>setlocal
"C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/Users/mbusc/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/privatebinapi.dll -installedDir C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/vcpkg_installed/x64-windows/bin -OutVariable out "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/Users/mbusc/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/libprivatebin.dll -installedDir C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/vcpkg_installed/x64-windows/bin -OutVariable out
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -211,9 +211,9 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<GenerateDebugInformation>false</GenerateDebugInformation> <GenerateDebugInformation>false</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ImageHasSafeExceptionHandlers></ImageHasSafeExceptionHandlers> <ImageHasSafeExceptionHandlers></ImageHasSafeExceptionHandlers>
<ImportLibrary>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/privatebinapi.lib</ImportLibrary> <ImportLibrary>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/libprivatebin.lib</ImportLibrary>
<LinkErrorReporting></LinkErrorReporting> <LinkErrorReporting></LinkErrorReporting>
<ProgramDataBaseFile>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/privatebinapi.pdb</ProgramDataBaseFile> <ProgramDataBaseFile>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/libprivatebin.pdb</ProgramDataBaseFile>
<RandomizedBaseAddress></RandomizedBaseAddress> <RandomizedBaseAddress></RandomizedBaseAddress>
<SubSystem></SubSystem> <SubSystem></SubSystem>
</Link> </Link>
@ -241,14 +241,14 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<TreatWChar_tAsBuiltInType></TreatWChar_tAsBuiltInType> <TreatWChar_tAsBuiltInType></TreatWChar_tAsBuiltInType>
<UseFullPaths>false</UseFullPaths> <UseFullPaths>false</UseFullPaths>
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR="MinSizeRel";privatebinapi_EXPORTS</PreprocessorDefinitions> <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR="MinSizeRel";libprivatebin_EXPORTS</PreprocessorDefinitions>
<ObjectFileName>$(IntDir)</ObjectFileName> <ObjectFileName>$(IntDir)</ObjectFileName>
<DebugInformationFormat> <DebugInformationFormat>
</DebugInformationFormat> </DebugInformationFormat>
<ScanSourceForModuleDependencies>false</ScanSourceForModuleDependencies> <ScanSourceForModuleDependencies>false</ScanSourceForModuleDependencies>
</ClCompile> </ClCompile>
<ResourceCompile> <ResourceCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR=\"MinSizeRel\";privatebinapi_EXPORTS</PreprocessorDefinitions> <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR=\"MinSizeRel\";libprivatebin_EXPORTS</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\mbusc\source\repos\privatebin-cpp\include;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\vcpkg_installed\x64-windows\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>C:\Users\mbusc\source\repos\privatebin-cpp\include;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\vcpkg_installed\x64-windows\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile> </ResourceCompile>
<Midl> <Midl>
@ -262,7 +262,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<PostBuildEvent> <PostBuildEvent>
<Message></Message> <Message></Message>
<Command>setlocal <Command>setlocal
"C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/Users/mbusc/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/privatebinapi.dll -installedDir C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/vcpkg_installed/x64-windows/bin -OutVariable out "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/Users/mbusc/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/libprivatebin.dll -installedDir C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/vcpkg_installed/x64-windows/bin -OutVariable out
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -279,9 +279,9 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<GenerateDebugInformation>false</GenerateDebugInformation> <GenerateDebugInformation>false</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ImageHasSafeExceptionHandlers></ImageHasSafeExceptionHandlers> <ImageHasSafeExceptionHandlers></ImageHasSafeExceptionHandlers>
<ImportLibrary>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/privatebinapi.lib</ImportLibrary> <ImportLibrary>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/libprivatebin.lib</ImportLibrary>
<LinkErrorReporting></LinkErrorReporting> <LinkErrorReporting></LinkErrorReporting>
<ProgramDataBaseFile>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/privatebinapi.pdb</ProgramDataBaseFile> <ProgramDataBaseFile>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/libprivatebin.pdb</ProgramDataBaseFile>
<RandomizedBaseAddress></RandomizedBaseAddress> <RandomizedBaseAddress></RandomizedBaseAddress>
<SubSystem></SubSystem> <SubSystem></SubSystem>
</Link> </Link>
@ -310,12 +310,12 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<TreatWChar_tAsBuiltInType></TreatWChar_tAsBuiltInType> <TreatWChar_tAsBuiltInType></TreatWChar_tAsBuiltInType>
<UseFullPaths>false</UseFullPaths> <UseFullPaths>false</UseFullPaths>
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR="RelWithDebInfo";privatebinapi_EXPORTS</PreprocessorDefinitions> <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR="RelWithDebInfo";libprivatebin_EXPORTS</PreprocessorDefinitions>
<ObjectFileName>$(IntDir)</ObjectFileName> <ObjectFileName>$(IntDir)</ObjectFileName>
<ScanSourceForModuleDependencies>false</ScanSourceForModuleDependencies> <ScanSourceForModuleDependencies>false</ScanSourceForModuleDependencies>
</ClCompile> </ClCompile>
<ResourceCompile> <ResourceCompile>
<PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR=\"RelWithDebInfo\";privatebinapi_EXPORTS</PreprocessorDefinitions> <PreprocessorDefinitions>%(PreprocessorDefinitions);WIN32;_WINDOWS;NDEBUG;PRIVATEBINAPI_EXPORTS;WINDOWS;CRYPTOPP_INCLUDE_PREFIX=cryptopp;CMAKE_INTDIR=\"RelWithDebInfo\";libprivatebin_EXPORTS</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\mbusc\source\repos\privatebin-cpp\include;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\vcpkg_installed\x64-windows\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>C:\Users\mbusc\source\repos\privatebin-cpp\include;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\vcpkg_installed\x64-windows\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile> </ResourceCompile>
<Midl> <Midl>
@ -329,7 +329,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<PostBuildEvent> <PostBuildEvent>
<Message></Message> <Message></Message>
<Command>setlocal <Command>setlocal
"C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/Users/mbusc/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/privatebinapi.dll -installedDir C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/vcpkg_installed/x64-windows/bin -OutVariable out "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/Users/mbusc/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/libprivatebin.dll -installedDir C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/vcpkg_installed/x64-windows/bin -OutVariable out
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -346,9 +346,9 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ImageHasSafeExceptionHandlers></ImageHasSafeExceptionHandlers> <ImageHasSafeExceptionHandlers></ImageHasSafeExceptionHandlers>
<ImportLibrary>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/privatebinapi.lib</ImportLibrary> <ImportLibrary>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/libprivatebin.lib</ImportLibrary>
<LinkErrorReporting></LinkErrorReporting> <LinkErrorReporting></LinkErrorReporting>
<ProgramDataBaseFile>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/privatebinapi.pdb</ProgramDataBaseFile> <ProgramDataBaseFile>C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/libprivatebin.pdb</ProgramDataBaseFile>
<RandomizedBaseAddress></RandomizedBaseAddress> <RandomizedBaseAddress></RandomizedBaseAddress>
<SubSystem></SubSystem> <SubSystem></SubSystem>
</Link> </Link>
@ -414,12 +414,12 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
</CustomBuild> </CustomBuild>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\privatebinapi.cpp" /> <ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\libprivatebin.cpp" />
<ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\http_client.cpp" /> <ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\http_client.cpp" />
<ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\crypto.cpp" /> <ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\crypto.cpp" />
<ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\json_parser.cpp" /> <ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\json_parser.cpp" />
<ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\base58.cpp" /> <ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\base58.cpp" />
<ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\privatebinapi.h" /> <ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\libprivatebin.h" />
<ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\http_client.h" /> <ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\http_client.h" />
<ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\crypto.h" /> <ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\crypto.h" />
<ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\json_parser.h" /> <ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\json_parser.h" />

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup> <ItemGroup>
<ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\privatebinapi.cpp"> <ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\libprivatebin.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\http_client.cpp"> <ClCompile Include="C:\Users\mbusc\source\repos\privatebin-cpp\src\http_client.cpp">
@ -18,7 +18,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\privatebinapi.h"> <ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\libprivatebin.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\http_client.h"> <ClInclude Include="C:\Users\mbusc\source\repos\privatebin-cpp\include\http_client.h">

View File

@ -1,5 +0,0 @@
C:\Users\mbusc\source\repos\privatebin-cpp\src\privatebinapi.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\privatebinapi.dir\Release\privatebinapi.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\http_client.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\privatebinapi.dir\Release\http_client.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\crypto.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\privatebinapi.dir\Release\crypto.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\json_parser.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\privatebinapi.dir\Release\json_parser.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\base58.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\privatebinapi.dir\Release\base58.obj

View File

@ -1,2 +0,0 @@
^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\PRIVATEBINAPI.DIR\RELEASE\BASE58.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\PRIVATEBINAPI.DIR\RELEASE\CRYPTO.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\PRIVATEBINAPI.DIR\RELEASE\HTTP_CLIENT.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\PRIVATEBINAPI.DIR\RELEASE\JSON_PARSER.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\PRIVATEBINAPI.DIR\RELEASE\PRIVATEBINAPI.OBJ
C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\privatebinapi.lib

View File

@ -22,7 +22,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ZERO_CHECK", "..\\ZERO_CHEC
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "privatebinapi", "..\\privatebinapi.vcxproj", "{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libprivatebin", "..\\libprivatebin.vcxproj", "{F7375EBF-3777-35B1-B163-0BF71FADB554}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}
EndProjectSection EndProjectSection
@ -30,7 +30,7 @@ EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_basic", "test_basic.vcxproj", "{C3F88C47-123F-3064-9A29-E5E341930946}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_basic", "test_basic.vcxproj", "{C3F88C47-123F-3064-9A29-E5E341930946}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF} = {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E} = {9A1DC603-1A2A-3786-BA4E-F6582D1A878E} {F7375EBF-3777-35B1-B163-0BF71FADB554} = {F7375EBF-3777-35B1-B163-0BF71FADB554}
EndProjectSection EndProjectSection
EndProject EndProject
Global Global
@ -65,14 +65,14 @@ Global
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}.MinSizeRel|x64.Build.0 = MinSizeRel|x64 {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}.MinSizeRel|x64.Build.0 = MinSizeRel|x64
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64 {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 {0A9A5E2C-B01B-3BE3-8627-86DE18DA5FEF}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Debug|x64.ActiveCfg = Debug|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Debug|x64.ActiveCfg = Debug|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Debug|x64.Build.0 = Debug|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Debug|x64.Build.0 = Debug|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Release|x64.ActiveCfg = Release|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Release|x64.ActiveCfg = Release|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.Release|x64.Build.0 = Release|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.Release|x64.Build.0 = Release|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.MinSizeRel|x64.Build.0 = MinSizeRel|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.MinSizeRel|x64.Build.0 = MinSizeRel|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64
{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 {F7375EBF-3777-35B1-B163-0BF71FADB554}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
{C3F88C47-123F-3064-9A29-E5E341930946}.Debug|x64.ActiveCfg = Debug|x64 {C3F88C47-123F-3064-9A29-E5E341930946}.Debug|x64.ActiveCfg = Debug|x64
{C3F88C47-123F-3064-9A29-E5E341930946}.Debug|x64.Build.0 = Debug|x64 {C3F88C47-123F-3064-9A29-E5E341930946}.Debug|x64.Build.0 = Debug|x64
{C3F88C47-123F-3064-9A29-E5E341930946}.Release|x64.ActiveCfg = Release|x64 {C3F88C47-123F-3064-9A29-E5E341930946}.Release|x64.ActiveCfg = Release|x64
@ -83,7 +83,7 @@ Global
{C3F88C47-123F-3064-9A29-E5E341930946}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 {C3F88C47-123F-3064-9A29-E5E341930946}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {40377B5D-8ACA-3726-8E28-9223184F9D4A} SolutionGuid = {81547BE2-276A-31D5-AF01-AEF71A266D98}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection EndGlobalSection

Binary file not shown.

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\x64\Release\ZERO_CHECK</FullPath>
</ProjectOutput>
<ProjectOutput>
<FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\privatebinapi.dll</FullPath>
</ProjectOutput>
<ProjectOutput>
<FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\tests\Release\test_basic.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>

View File

@ -1,3 +0,0 @@
C:\Users\mbusc\source\repos\privatebin-cpp\tests\test_basic.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\tests\test_basic.dir\Release\test_basic.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\json_parser.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\tests\test_basic.dir\Release\json_parser.obj
C:\Users\mbusc\source\repos\privatebin-cpp\src\http_client.cpp;C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\tests\test_basic.dir\Release\http_client.obj

View File

@ -1,10 +0,0 @@
^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\TESTS\CMAKELISTS.TXT
setlocal
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/tests/CMakeFiles/generate.stamp
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd

View File

@ -1 +0,0 @@
^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\TESTS\CMAKELISTS.TXT

View File

@ -1,2 +0,0 @@
^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\TESTS\CMAKELISTS.TXT
C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\TESTS\CMAKEFILES\GENERATE.STAMP

View File

@ -1 +0,0 @@
^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\TESTS\TEST_BASIC.DIR\RELEASE\HTTP_CLIENT.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\TESTS\TEST_BASIC.DIR\RELEASE\JSON_PARSER.OBJ|C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\TESTS\TEST_BASIC.DIR\RELEASE\TEST_BASIC.OBJ

View File

@ -1,2 +0,0 @@
PlatformToolSet=ClangCL:VCToolArchitecture=Native64Bit:VCToolsVersion=14.44.35207:TargetPlatformVersion=10.0.26100.0:VcpkgTriplet=x64-windows:
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64|19.1.5|Release|x64|C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\tests\|

View File

@ -134,7 +134,7 @@ exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd if %errorlevel% neq 0 goto :VCEnd
setlocal setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/privatebinapi.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/tests/Debug "C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Debug/libprivatebin.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/tests/Debug
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -144,7 +144,7 @@ exit /b %1
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
</PostBuildEvent> </PostBuildEvent>
<Link> <Link>
<AdditionalDependencies>..\Debug\privatebinapi.lib;..\vcpkg_installed\x64-windows\debug\lib\cryptopp.lib;winhttp.lib;kernel32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies> <AdditionalDependencies>..\Debug\libprivatebin.lib;..\vcpkg_installed\x64-windows\debug\lib\cryptopp.lib;winhttp.lib;kernel32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions> <AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
<DataExecutionPrevention></DataExecutionPrevention> <DataExecutionPrevention></DataExecutionPrevention>
@ -211,7 +211,7 @@ exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd if %errorlevel% neq 0 goto :VCEnd
setlocal setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/privatebinapi.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/tests/Release "C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/libprivatebin.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/tests/Release
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -221,7 +221,7 @@ exit /b %1
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
</PostBuildEvent> </PostBuildEvent>
<Link> <Link>
<AdditionalDependencies>..\Release\privatebinapi.lib;..\vcpkg_installed\x64-windows\lib\cryptopp.lib;winhttp.lib;kernel32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies> <AdditionalDependencies>..\Release\libprivatebin.lib;..\vcpkg_installed\x64-windows\lib\cryptopp.lib;winhttp.lib;kernel32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions> <AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
<DataExecutionPrevention></DataExecutionPrevention> <DataExecutionPrevention></DataExecutionPrevention>
@ -288,7 +288,7 @@ exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd if %errorlevel% neq 0 goto :VCEnd
setlocal setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/privatebinapi.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/tests/MinSizeRel "C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/MinSizeRel/libprivatebin.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/tests/MinSizeRel
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -298,7 +298,7 @@ exit /b %1
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
</PostBuildEvent> </PostBuildEvent>
<Link> <Link>
<AdditionalDependencies>..\MinSizeRel\privatebinapi.lib;..\vcpkg_installed\x64-windows\lib\cryptopp.lib;winhttp.lib;kernel32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies> <AdditionalDependencies>..\MinSizeRel\libprivatebin.lib;..\vcpkg_installed\x64-windows\lib\cryptopp.lib;winhttp.lib;kernel32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions> <AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
<DataExecutionPrevention></DataExecutionPrevention> <DataExecutionPrevention></DataExecutionPrevention>
@ -364,7 +364,7 @@ exit /b %1
:cmDone :cmDone
if %errorlevel% neq 0 goto :VCEnd if %errorlevel% neq 0 goto :VCEnd
setlocal setlocal
"C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/privatebinapi.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/tests/RelWithDebInfo "C:\Program Files\CMake\bin\cmake.exe" -E copy_if_different C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/RelWithDebInfo/libprivatebin.dll C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/tests/RelWithDebInfo
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone endlocal &amp; call :cmErrorLevel %errorlevel% &amp; goto :cmDone
@ -374,7 +374,7 @@ exit /b %1
if %errorlevel% neq 0 goto :VCEnd</Command> if %errorlevel% neq 0 goto :VCEnd</Command>
</PostBuildEvent> </PostBuildEvent>
<Link> <Link>
<AdditionalDependencies>..\RelWithDebInfo\privatebinapi.lib;..\vcpkg_installed\x64-windows\lib\cryptopp.lib;winhttp.lib;kernel32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies> <AdditionalDependencies>..\RelWithDebInfo\libprivatebin.lib;..\vcpkg_installed\x64-windows\lib\cryptopp.lib;winhttp.lib;kernel32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions> <AdditionalOptions>%(AdditionalOptions) /machine:x64</AdditionalOptions>
<DataExecutionPrevention></DataExecutionPrevention> <DataExecutionPrevention></DataExecutionPrevention>
@ -463,9 +463,9 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly> <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<CopyToOutputDirectory>Never</CopyToOutputDirectory> <CopyToOutputDirectory>Never</CopyToOutputDirectory>
</ProjectReference> </ProjectReference>
<ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\privatebinapi.vcxproj"> <ProjectReference Include="C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\libprivatebin.vcxproj">
<Project>{9A1DC603-1A2A-3786-BA4E-F6582D1A878E}</Project> <Project>{F7375EBF-3777-35B1-B163-0BF71FADB554}</Project>
<Name>privatebinapi</Name> <Name>libprivatebin</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -1,6 +1,6 @@
^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\CMAKEFILES\57C6FE7B0978933C15BEE3DFCB818447\GENERATE.STAMP.RULE ^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\CMAKEFILES\57C6FE7B0978933C15BEE3DFCB818447\GENERATE.STAMP.RULE
setlocal setlocal
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/PrivateBinAPI.sln "C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mbusc/source/repos/privatebin-cpp -BC:/Users/mbusc/source/repos/privatebin-cpp/build-clang --check-stamp-list CMakeFiles/generate.stamp.list --vs-solution-file C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/LibPrivateBin.sln
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\x64\Release\ZERO_CHECK</FullPath>
</ProjectOutput>
<ProjectOutput>
<FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\Release\privatebinapi.dll</FullPath>
</ProjectOutput>
<ProjectOutput>
<FullPath>C:\Users\mbusc\source\repos\privatebin-cpp\build-clang\x64\Release\coverage_llvm</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>

View File

@ -10,9 +10,9 @@ if %errorlevel% neq 0 goto :cmEnd
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata "C:\Program Files\LLVM\bin\llvm-profdata.exe" merge -sparse C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/*.profraw -o C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) "C:\Program Files\LLVM\bin\llvm-cov.exe" report C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles)
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
"C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/privatebinapi.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html "C:\Program Files\LLVM\bin\llvm-cov.exe" show C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/Release/libprivatebin.dll --instr-profile=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/merged.profdata --ignore-filename-regex= (vcpkg^|external^|CMakeFiles) --format=html --output-dir=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/html
if %errorlevel% neq 0 goto :cmEnd if %errorlevel% neq 0 goto :cmEnd
:cmEnd :cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone

View File

@ -1,5 +1,5 @@
^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\CMAKEFILES\57C6FE7B0978933C15BEE3DFCB818447\COVERAGE_LLVM.RULE ^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\CMAKEFILES\57C6FE7B0978933C15BEE3DFCB818447\COVERAGE_LLVM.RULE
C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\RELEASE\PRIVATEBINAPI.DLL C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\BUILD-CLANG\RELEASE\LIBPRIVATEBIN.DLL
^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\CMAKELISTS.TXT ^C:\USERS\MBUSC\SOURCE\REPOS\PRIVATEBIN-CPP\CMAKELISTS.TXT
C:\PROGRAM FILES\CMAKE\SHARE\CMAKE-4.1\MODULES\CMAKECINFORMATION.CMAKE C:\PROGRAM FILES\CMAKE\SHARE\CMAKE-4.1\MODULES\CMAKECINFORMATION.CMAKE
C:\PROGRAM FILES\CMAKE\SHARE\CMAKE-4.1\MODULES\CMAKECXXINFORMATION.CMAKE C:\PROGRAM FILES\CMAKE\SHARE\CMAKE-4.1\MODULES\CMAKECXXINFORMATION.CMAKE

View File

@ -1,17 +1,17 @@
cmake_minimum_required(VERSION 3.10) cmake_minimum_required(VERSION 3.10)
project(PrivateBinAPIExample) project(LibPrivateBinExample)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
# Build example and link against the in-tree target # Build example and link against the in-tree target
add_executable(example example.cpp) add_executable(example example.cpp)
target_link_libraries(example PRIVATE privatebinapi) target_link_libraries(example PRIVATE libprivatebin)
# On Windows, copy the DLL next to the example for easy execution # On Windows, copy the DLL next to the example for easy execution
if(WIN32) if(WIN32)
add_custom_command(TARGET example POST_BUILD add_custom_command(TARGET example POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different COMMAND ${CMAKE_COMMAND} -E copy_if_different
$<TARGET_FILE:privatebinapi> $<TARGET_FILE:libprivatebin>
$<TARGET_FILE_DIR:example> $<TARGET_FILE_DIR:example>
) )
endif() endif()

View File

@ -1,4 +1,4 @@
#include "privatebinapi.h" #include "libprivatebin.h"
#include <iostream> #include <iostream>
#include <cstring> #include <cstring>
#include <string> #include <string>

View File

@ -7,8 +7,8 @@ $ErrorActionPreference = 'Stop'
New-Item -ItemType Directory -Force -Path $OutDir | Out-Null New-Item -ItemType Directory -Force -Path $OutDir | Out-Null
$items = @( $items = @(
@{ Path = 'build/Release/privatebinapi.dll'; Optional = $false } @{ Path = 'build/Release/libprivatebin.dll'; Optional = $false }
@{ Path = 'build/Release/privatebinapi.lib'; Optional = $true } @{ Path = 'build/Release/libprivatebin.lib'; Optional = $true }
@{ Path = 'build/Release/privatebinapi.pdb'; Optional = $true } @{ Path = 'build/Release/privatebinapi.pdb'; Optional = $true }
@{ Path = 'build/example/Release/example.exe'; Optional = $true } @{ Path = 'build/example/Release/example.exe'; Optional = $true }
) )

View File

@ -64,7 +64,7 @@ Write-Host "Build erfolgreich abgeschlossen!" -ForegroundColor Green
# Tests ausführen # Tests ausführen
Write-Host "Führe Tests aus..." -ForegroundColor Yellow Write-Host "Führe Tests aus..." -ForegroundColor Yellow
if (Test-Path "build\CTestTestfile.cmake") { if (Test-Path "build\CTestTestfile.cmake") {
pushd build Push-Location build
try { try {
ctest -C Release --output-on-failure ctest -C Release --output-on-failure
if ($LASTEXITCODE -ne 0) { if ($LASTEXITCODE -ne 0) {
@ -72,7 +72,7 @@ if (Test-Path "build\CTestTestfile.cmake") {
exit 1 exit 1
} }
} finally { } finally {
popd Pop-Location
} }
Write-Host "Tests erfolgreich." -ForegroundColor Green Write-Host "Tests erfolgreich." -ForegroundColor Green
} else { } else {
@ -242,7 +242,7 @@ if (Test-Path "scripts\collect_binaries.ps1") {
} }
# Release erstellen # Release erstellen
$releaseBody = "## What is New in $newVersion`n`n- AUTOMATED: Release created by script`n- VERSION: Bumped from $lastTag to $newVersion`n- BUILD: Automatic build with build_windows.bat`n`n## Build Artifacts`n`nBuild-Artefakte werden automatisch hochgeladen und hier angezeigt.`n`nTypische Artefakte:`n- privatebinapi.dll - Windows Dynamic Link Library`n- privatebinapi.lib - Windows Import Library`n- example.exe - Combined example program`n- privatebinapi.h - C++ header file" $releaseBody = "## What is New in $newVersion`n`n- AUTOMATED: Release created by script`n- VERSION: Bumped from $lastTag to $newVersion`n- BUILD: Automatic build with build_windows.bat`n`n## Build Artifacts`n`nBuild-Artefakte werden automatisch hochgeladen und hier angezeigt.`n`nTypische Artefakte:`n- libprivatebin.dll - Windows Dynamic Link Library`n- libprivatebin.lib - Windows Import Library`n- example.exe - Combined example program`n- libprivatebin.h - C++ header file"
$releaseData = @{ $releaseData = @{
tag_name = $newVersion tag_name = $newVersion
@ -310,7 +310,7 @@ if (Test-Path $distPath) {
} }
try { try {
$uploadResponse = Invoke-RestMethod -Uri $uploadUri -Method Post -Headers $uploadHeaders -Body $body Invoke-RestMethod -Uri $uploadUri -Method Post -Headers $uploadHeaders -Body $body | Out-Null
Write-Host "$($artifact.Name) erfolgreich hochgeladen" -ForegroundColor Green Write-Host "$($artifact.Name) erfolgreich hochgeladen" -ForegroundColor Green
} catch { } catch {
Write-Host " ✗ Fehler beim Hochladen von $($artifact.Name): $($_.Exception.Message)" -ForegroundColor Red Write-Host " ✗ Fehler beim Hochladen von $($artifact.Name): $($_.Exception.Message)" -ForegroundColor Red

View File

@ -47,20 +47,20 @@ if ($assets) {
# Compose release notes with known checksums if they exist locally # Compose release notes with known checksums if they exist locally
$zipShaPath = (Resolve-Path 'dist\lib-privatebin-v0.1.1.3-windows-x64.zip.sha256' -ErrorAction SilentlyContinue) $zipShaPath = (Resolve-Path 'dist\lib-privatebin-v0.1.1.3-windows-x64.zip.sha256' -ErrorAction SilentlyContinue)
$dllShaPath = (Resolve-Path 'dist\windows_bin\privatebinapi.dll.sha256' -ErrorAction SilentlyContinue) $dllShaPath = (Resolve-Path 'dist\windows_bin\libprivatebin.dll.sha256' -ErrorAction SilentlyContinue)
$libShaPath = (Resolve-Path 'dist\windows_bin\privatebinapi.lib.sha256' -ErrorAction SilentlyContinue) $libShaPath = (Resolve-Path 'dist\windows_bin\libprivatebin.lib.sha256' -ErrorAction SilentlyContinue)
$exeShaPath = (Resolve-Path 'dist\windows_bin\example.exe.sha256' -ErrorAction SilentlyContinue) $exeShaPath = (Resolve-Path 'dist\windows_bin\example.exe.sha256' -ErrorAction SilentlyContinue)
$lines = @('# Downloadable artifacts', '') $lines = @('# Downloadable artifacts', '')
$lines += ("- [lib-privatebin-v0.1.1.3-windows-x64.zip]($Server/$Owner/$Repo/releases/download/$tag/lib-privatebin-v0.1.1.3-windows-x64.zip)") $lines += ("- [lib-privatebin-v0.1.1.3-windows-x64.zip]($Server/$Owner/$Repo/releases/download/$tag/lib-privatebin-v0.1.1.3-windows-x64.zip)")
$lines += ("- [privatebinapi.dll]($Server/$Owner/$Repo/releases/download/$tag/privatebinapi.dll)") $lines += ("- [libprivatebin.dll]($Server/$Owner/$Repo/releases/download/$tag/libprivatebin.dll)")
$lines += ("- [privatebinapi.lib]($Server/$Owner/$Repo/releases/download/$tag/privatebinapi.lib)") $lines += ("- [libprivatebin.lib]($Server/$Owner/$Repo/releases/download/$tag/libprivatebin.lib)")
$lines += ("- [example.exe]($Server/$Owner/$Repo/releases/download/$tag/example.exe)") $lines += ("- [example.exe]($Server/$Owner/$Repo/releases/download/$tag/example.exe)")
$lines += '' $lines += ''
$lines += '# SHA256 checksums' $lines += '# SHA256 checksums'
if ($zipShaPath) { $lines += ("- [lib-privatebin-v0.1.1.3-windows-x64.zip.sha256]($Server/$Owner/$Repo/releases/download/$tag/lib-privatebin-v0.1.1.3-windows-x64.zip.sha256)") } if ($zipShaPath) { $lines += ("- [lib-privatebin-v0.1.1.3-windows-x64.zip.sha256]($Server/$Owner/$Repo/releases/download/$tag/lib-privatebin-v0.1.1.3-windows-x64.zip.sha256)") }
if ($dllShaPath) { $lines += ("- [privatebinapi.dll.sha256]($Server/$Owner/$Repo/releases/download/$tag/privatebinapi.dll.sha256)") } if ($dllShaPath) { $lines += ("- [libprivatebin.dll.sha256]($Server/$Owner/$Repo/releases/download/$tag/libprivatebin.dll.sha256)") }
if ($libShaPath) { $lines += ("- [privatebinapi.lib.sha256]($Server/$Owner/$Repo/releases/download/$tag/privatebinapi.lib.sha256)") } if ($libShaPath) { $lines += ("- [libprivatebin.lib.sha256]($Server/$Owner/$Repo/releases/download/$tag/libprivatebin.lib.sha256)") }
if ($exeShaPath) { $lines += ("- [example.exe.sha256]($Server/$Owner/$Repo/releases/download/$tag/example.exe.sha256)") } if ($exeShaPath) { $lines += ("- [example.exe.sha256]($Server/$Owner/$Repo/releases/download/$tag/example.exe.sha256)") }
$lines += '' $lines += ''

View File

@ -22,8 +22,8 @@ if (-not $assets) { $assets = $release.attachments }
$allowed = @( $allowed = @(
'lib-privatebin-v0.1.1.3-windows-x64.zip', 'lib-privatebin-v0.1.1.3-windows-x64.zip',
'lib-privatebin-v0.1.1.3-windows-x64.zip.sha256', 'lib-privatebin-v0.1.1.3-windows-x64.zip.sha256',
'privatebinapi.dll','privatebinapi.dll.sha256', 'libprivatebin.dll','libprivatebin.dll.sha256',
'privatebinapi.lib','privatebinapi.lib.sha256', 'libprivatebin.lib','libprivatebin.lib.sha256',
'example.exe','example.exe.sha256' 'example.exe','example.exe.sha256'
) )

View File

@ -1,4 +1,4 @@
#include "privatebinapi.h" #include "libprivatebin.h"
#include "http_client.h" #include "http_client.h"
#include "crypto.h" #include "crypto.h"
#include "json_parser.h" #include "json_parser.h"

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10) cmake_minimum_required(VERSION 3.10)
project(PrivateBinAPITests) project(LibPrivateBinTests)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 17)
add_executable(test_basic test_basic.cpp) add_executable(test_basic test_basic.cpp)
# Link with the already-defined privatebinapi target from the root project # Link with the already-defined privatebinapi target from the root project
target_link_libraries(test_basic PRIVATE privatebinapi) target_link_libraries(test_basic PRIVATE libprivatebin)
# Ensure nlohmann_json include directories are available to the test target # Ensure nlohmann_json include directories are available to the test target
target_link_libraries(test_basic PRIVATE nlohmann_json::nlohmann_json) target_link_libraries(test_basic PRIVATE nlohmann_json::nlohmann_json)
@ -21,10 +21,10 @@ target_sources(test_basic PRIVATE
# Ensure the DLL is available next to the test executable on Windows # Ensure the DLL is available next to the test executable on Windows
if(WIN32) if(WIN32)
add_dependencies(test_basic privatebinapi) add_dependencies(test_basic libprivatebin)
add_custom_command(TARGET test_basic POST_BUILD add_custom_command(TARGET test_basic POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different COMMAND ${CMAKE_COMMAND} -E copy_if_different
$<TARGET_FILE:privatebinapi> $<TARGET_FILE:libprivatebin>
$<TARGET_FILE_DIR:test_basic> $<TARGET_FILE_DIR:test_basic>
) )
# Link WinHTTP for direct HttpClient usage in tests # Link WinHTTP for direct HttpClient usage in tests

View File

@ -2,7 +2,7 @@
// Server under test: https://privatebin.medisoftware.org/ // Server under test: https://privatebin.medisoftware.org/
// Enable by setting environment variable PRIVATEBIN_IT=1 // Enable by setting environment variable PRIVATEBIN_IT=1
#include "privatebinapi.h" #include "libprivatebin.h"
#include "json_parser.h" #include "json_parser.h"
#include "http_client.h" #include "http_client.h"
#include <iostream> #include <iostream>