Update to DokanY 1.2.2.1001

This commit is contained in:
Sebastian Messmer 2021-08-15 20:16:59 -07:00 committed by Sebastian Messmer
parent 26ea5a0209
commit fe71144377
5 changed files with 14 additions and 7 deletions

View File

@ -7,4 +7,4 @@ runs:
shell: bash
run: |
choco install -y ninja
choco install -y dokany --version 1.2.1.2000 --installargs INSTALLDEVFILES=1
choco install -y dokany --version 1.2.2.1001 --installargs INSTALLDEVFILES=1

View File

@ -533,7 +533,7 @@ jobs:
# TODO CMAKE_SYSTEM_VERSION is probably not needed anymore
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBUILD_TESTING=on -DDOKAN_PATH="C:/Program Files/Dokan/DokanLibrary-1.2.1" -A ${{matrix.arch}} -DCMAKE_SYSTEM_VERSION="10.0.18362.0"
cmake .. -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBUILD_TESTING=on -DDOKAN_PATH="C:/Program Files/Dokan/DokanLibrary-1.2.2" -A ${{matrix.arch}} -DCMAKE_SYSTEM_VERSION="10.0.18362.0"
cmake --build . --config ${{matrix.build_type}}
# - name: Show ccache statistics
# shell: bash

View File

@ -45,4 +45,4 @@
"ctestCommandArgs": ""
}
]
}
}

View File

@ -4,6 +4,7 @@ Bugfix:
* Fix building of the range-v3 dependency. The conan remote URL for this dependency changed and we have to use the new URL. See https://github.com/cryfs/cryfs/issues/398
* Update to CryptoPP 8.6. This fixes a rare bug where CryptoPP 8.5 encrypts data wrongly, see https://github.com/weidai11/cryptopp/issues/1069
* cryfs-unmount correctly unmounts paths that contain spaces, see https://github.com/cryfs/cryfs/issues/372
* Updated to DokanY 1.2.2.1001
Version 0.11.0
---------------

View File

@ -116,7 +116,7 @@ Build & Install
2. Build
$ mkdir cmake && cd cmake
$ mkdir build && cd build
$ cmake ..
$ make
@ -132,11 +132,17 @@ You can pass the following variables to the *cmake* command (using *-Dvariablena
Building on Windows (experimental)
----------------------------------
Build with Visual Studio 2019 and pass in the following flags to CMake:
1. Install conan. If you want to use "pip install conan", you may have to install Python first.
2. Install DokanY 1.2.2. Other versions may not work.
3. Run CMake to generate Visual Studio 2019 project files (this may not be necessary, but it makes sure everything works as expected and you can see potential errors happening during this step)
-DDOKAN_PATH=[dokan library location, e.g. "C:\Program Files\Dokan\DokanLibrary-1.2.1"]
$ mkdir build && cd build
$ cmake .. -G "Visual Studio 16 2019" -DDOKAN_PATH=[dokan library location, e.g. "C:\Program Files\Dokan\DokanLibrary-1.2.2"]
If you set these variables correctly in the `CMakeSettings.json` file, you should be able to open the cryfs source folder with Visual Studio 2019.
4. Potentially modify CMakeSettings.json file to fit your needs
5. Open the cryfs source folder with Visual Studio 2019, or alternatively build on command line using
$ cd build && cmake --build . --config RelWithDebInfo
Troubleshooting
---------------