mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-20 12:52:06 +03: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>
14 lines
425 B
CMake
14 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/
|
|
)
|