mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2024-11-25 01:42:47 +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>
20 lines
347 B
CMake
20 lines
347 B
CMake
set(TARGET_NAME NavRemove${BITNESS})
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}/../
|
|
)
|
|
|
|
add_executable(${TARGET_NAME} WIN32
|
|
main.cpp
|
|
../ConfigIni.cpp
|
|
${CMAKE_CURRENT_BINARY_DIR}/../version.rc
|
|
)
|
|
|
|
target_link_libraries(${TARGET_NAME}
|
|
NCToolsShared
|
|
)
|
|
|
|
install(TARGETS ${TARGET_NAME}
|
|
DESTINATION tools/NCNavRemove/exe/
|
|
)
|