diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-20 13:48:50 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-20 13:48:50 +0100 |
commit | 4624d6d20ee7171b50be994b7d2881d93bc901d4 (patch) | |
tree | 2890d86aa6c8e2a80fe9ba196e280e96673d43dc | |
parent | 7ebb4a1996eaa9edd9f13a3fb31834d0163561c6 (diff) |
cmake: drop moc and moc-* targets
They clutter the target list in some IDEs.
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 4fba9a95..b60d8e65 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -1,7 +1,5 @@ include_guard(GLOBAL) -add_custom_target(moc COMMENT "Qt temporary files") - set(opentrack-perms-file WORLD_READ OWNER_WRITE OWNER_READ GROUP_READ) set(opentrack-perms-dir WORLD_READ WORLD_EXECUTE OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE) set(opentrack-perms-exec "${opentrack-perms-dir}") @@ -146,14 +144,6 @@ function(otr_module n_) set(arg_NO-COMPAT TRUE) endif() - if(NOT arg_NO-QT) - set_property(SOURCE ${${n}-moc} ${${n}-uih} PROPERTY GENERATED TRUE) - add_custom_target(moc-${n} DEPENDS ${${n}-moc} ${${n}-uih} ${${n}-rc} COMMENT "") - set_property(TARGET moc-${n} PROPERTY GENERATED TRUE) - set_property(TARGET moc-${n} PROPERTY FOLDER "moc") - add_dependencies(moc "moc-${n}") - endif() - if(NOT WIN32) set(subsys "") elseif(arg_WIN32-CONSOLE) |