diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-14 15:26:45 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-16 17:53:40 +0200 |
commit | 9688f7937f2f1f139f6cb1fa6578b72b259b9f31 (patch) | |
tree | d2a5aa88e811fd8813044d5ccbb634eda77d5a36 /cmake/opentrack-boilerplate.cmake | |
parent | 9ca593d3ed203df4404f051dad426b04e6624512 (diff) |
cmake: allow for "mrproper" to delete install directory
This doesn't yet support mingw-w64 builds. Isn't hard to implement.
The build script automatically copies Qt libraries in the right place. Now we
have no more stale stuff in the install directory.
In fact, everything but CMakeCache.txt is deleted.
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index bd12601a..2e593138 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -23,12 +23,6 @@ if(NOT (orig-hier-path STREQUAL new-hier-path)) file(WRITE ${hier-path-filename} "${new-hier-path}") endif() -install(FILES "${CMAKE_SOURCE_DIR}/CMakeLists.txt" DESTINATION "${opentrack-doc-src-pfx}") -install(DIRECTORY "${CMAKE_SOURCE_DIR}/cmake" DESTINATION "${opentrack-doc-src-pfx}") -install(DIRECTORY "${CMAKE_SOURCE_DIR}/bin" DESTINATION "${opentrack-doc-src-pfx}") -install(FILES "${CMAKE_SOURCE_DIR}/README.md" DESTINATION "${opentrack-doc-src-pfx}") -install(FILES "${CMAKE_SOURCE_DIR}/CONTRIBUTING.md" DESTINATION "${opentrack-doc-src-pfx}") - function(opentrack_glob_sources var) set(dir "${CMAKE_CURRENT_SOURCE_DIR}") file(GLOB ${var}-c ${dir}/*.cpp ${dir}/*.c ${dir}/*.h ${dir}/*.hpp) |