CMake: Improve installation on Linux

Install setup header, wx-config and wxrc. Make wx-config executable.
Add renamed files and symbolic links to uninstall target.
This commit is contained in:
Maarten Bent
2018-12-02 17:34:20 +01:00
parent c80aecbfc1
commit c0544afcd7
3 changed files with 46 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ endif()
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
list(APPEND files @WX_EXTRA_UNINSTALL_FILES@)
foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")