Skip to content

Latest commit

 

History

History
 
 

WinShellIntegration

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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 IntelliJ IDEA.

Build

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".

Integration with CLion

  1. Configure the toolchain(s) (if you need help, please check this guide);
  2. Configure CMake profiles (if you need help, please check this guide). Optionally, pass JDK_PATH variable (via CMake options field) if you want to build winshellintegrationbridge 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 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:

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