mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2024-11-15 01:42:45 +01:00
f321cd8ae6
Removes all Explorer Navigation Pane entries for a given ApplicationName, specified in NavRemove.ini in the working directory. Also compiles a DLL with the same behaviour that exports: - RemoveNavigationPaneEntries Both tool variants are Mutex-protected. Statically linked, optimized for binary size, no Qt dependencies. Signed-off-by: Michael Schuster <michael@schuster.ms>
15 lines
425 B
CMake
15 lines
425 B
CMake
project(NCNavRemove)
|
|
|
|
set(MUTEX_NAME "NCNavRemove")
|
|
|
|
configure_file(NavRemoveConstants.h.in ${CMAKE_CURRENT_BINARY_DIR}/NavRemoveConstants.h)
|
|
configure_file(NavRemove.ini.in ${CMAKE_CURRENT_BINARY_DIR}/NavRemove.ini)
|
|
configure_file(version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
|
|
|
|
add_subdirectory(dll)
|
|
add_subdirectory(exe)
|
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/NavRemove.ini
|
|
DESTINATION tools/NCNavRemove/
|
|
)
|