mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
WinShellIntegration
The library provides the features allowing one to integrate your application into Windows Shell:
- Managing AppUserModelID property of the current process
- Jump lists support
This project based on the origin jumplistbridge project by Denis Fokin.
Windows 8 and higher are supported.
Build dependencies
- C++17-compatible compiler;
- CMake >=
v3.15(Note: it is already shipped with CLion); - [Optional: only for building winshellintegrationbridge target]: An implementation of Java SE 11 or newer. It's highly recommended to use the JDK you are using to build IDEA.
Build
Just use CMake normally.
If you want to build winshellintegrationbridge target too
you have to set the variable JDK_PATH to the path of JDK which will be used for build.
For example, if your javac.exe is located at C:\Soft\jdk\bin\javac.exe you should set the variable like
-DJDK_PATH="C:\Soft\jdk".
Integration with CLion
- Configure the toolchain(s) (if you need help, please check this guide);
- Configure CMake profiles (if you need help, please check this guide).
Don't forget to pass
JDK_PATHvariable (viaCMake optionsfield) if you want to buildwinshellintegrationbridgetarget. Also, you can set the root of each profile to build dir: it already has.gitignorefile that will exclude everything under it.
Current binaries in repository
Current version of IntelliJ Platform uses the x64 binary located in bin/win/WinShellIntegrationBridge.dll.
This DLL was built in the following environment:
- Windows 10 build 19041;
- Visual Studio 2017 Community MSVC 19.16.27043.0, Windows SDK v8.0 6.2.9200.16384;
- Amazon Corretto JDK 11.0.8.10.1.
And using the following commands ran at Visual Studio Developer Command Prompt:
cd build
cmake -E rm -rf "x64"
cmake -G"Visual Studio 15 2017" -A x64 -DCMAKE_SYSTEM_VERSION=8.0 -DJDK_PATH="%JDK_11_x64%" -S ".." -B "x64"
cmake --build "x64" --config RelWithDebInfo