Hi everyone,
To explain my wish, I want to add post-build automatic step to sign my exe file.
I'm working with MinGW and MSVC compiler, and I would like to locate properly the signtool without putting the path in a hard way.
Why ? Because Microsoft won't stop to move it, and I want to make a toolchain that stays robust over timer !
I tried using this CMake module that seems to use the register to locate the current SDK path and signtool : https://github.com/Monetra/mstdlib/blob/master/CMakeModules/CodeSign.cmake
But, it seems that HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows Kits\\Installed Roots doesn't necessarily contain the right location... (sometimes I wonder whos in charge of these things...).
Can anyone as similar needs, and find a "best" way to properly detect this tool?
Best regards !