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.
- 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 IntelliJ IDEA.
Just use CMake normally.
If you want to build winshellintegrationbridge target too
path to a JDK is required. Build script will try to use JDK_11_0_ARM64
, JDK_11_0_X64
or JDK_11_0
env variables depending on target architecture.
However, if it fails, or if you want other JDK, you need to set the CMake 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"
.
- Configure the toolchain(s) (if you need help, please check this guide);
- Configure CMake profiles (if you need help, please check this guide).
Optionally, pass
JDK_PATH
variable (viaCMake options
field) if you want to buildwinshellintegrationbridge
target, see above. Also, you can set the root of each profile to build dir: it already has.gitignore
file that will exclude everything under it.
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