Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

75 строки
2.9 KiB

  1. diff -rupN fsedit-qt5-master/CMakeLists.txt fsedit-qt5-cotire/CMakeLists.txt
  2. --- fsedit-qt5-master/CMakeLists.txt 2013-09-25 17:02:56.000000000 +0200
  3. +++ fsedit-qt5-cotire/CMakeLists.txt 2014-08-28 17:59:58.000000000 +0200
  4. @@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 2.8 FATAL
  5. cmake_policy(SET CMP0020 NEW)
  6. project(FSEditor)
  7. +include(cotire)
  8. +set_property(DIRECTORY PROPERTY COTIRE_UNITY_LINK_LIBRARIES_INIT "COPY_UNITY")
  9. +
  10. include(InstallRequiredSystemLibraries)
  11. set(VERSION_MAJOR 1)
  12. diff -rupN fsedit-qt5-master/source/application/CMakeLists.txt fsedit-qt5-cotire/source/application/CMakeLists.txt
  13. --- fsedit-qt5-master/source/application/CMakeLists.txt 2013-09-25 17:02:56.000000000 +0200
  14. +++ fsedit-qt5-cotire/source/application/CMakeLists.txt 2014-08-28 16:48:42.000000000 +0200
  15. @@ -20,3 +20,7 @@ install(TARGETS fseditor DESTINATION bin
  16. include(tr_sources)
  17. add_tr_sources(${sources})
  18. +
  19. +if (COMMAND cotire)
  20. + cotire(fseditor)
  21. +endif()
  22. diff -rupN fsedit-qt5-master/source/libfstest/CMakeLists.txt fsedit-qt5-cotire/source/libfstest/CMakeLists.txt
  23. --- fsedit-qt5-master/source/libfstest/CMakeLists.txt 2013-09-25 17:02:56.000000000 +0200
  24. +++ fsedit-qt5-cotire/source/libfstest/CMakeLists.txt 2014-08-28 16:49:11.000000000 +0200
  25. @@ -3,8 +3,12 @@
  26. add_library(fstest STATIC fstest.h fstest.cpp)
  27. target_link_libraries(fstest
  28. - Qt5::Widgets # ${QT_LIBRARIES}
  29. + Qt5::Widgets Qt5::Test # ${QT_LIBRARIES}
  30. )
  31. set_target_properties(fstest
  32. PROPERTIES PROJECT_LABEL "libfstest"
  33. )
  34. +
  35. +if (COMMAND cotire)
  36. + cotire(fstest)
  37. +endif()
  38. diff -rupN fsedit-qt5-master/source/libmodel/CMakeLists.txt fsedit-qt5-cotire/source/libmodel/CMakeLists.txt
  39. --- fsedit-qt5-master/source/libmodel/CMakeLists.txt 2013-09-25 17:02:56.000000000 +0200
  40. +++ fsedit-qt5-cotire/source/libmodel/CMakeLists.txt 2014-08-28 16:49:18.000000000 +0200
  41. @@ -37,3 +37,7 @@ fstest(test_libmodel LibModel)
  42. include(tr_sources)
  43. add_tr_sources(${sources} ${headers} ${moc_headers})
  44. +
  45. +if (COMMAND cotire)
  46. + cotire(model)
  47. +endif()
  48. diff -rupN fsedit-qt5-master/source/libmodelcommands/CMakeLists.txt fsedit-qt5-cotire/source/libmodelcommands/CMakeLists.txt
  49. --- fsedit-qt5-master/source/libmodelcommands/CMakeLists.txt 2013-09-25 17:02:56.000000000 +0200
  50. +++ fsedit-qt5-cotire/source/libmodelcommands/CMakeLists.txt 2014-08-28 16:49:25.000000000 +0200
  51. @@ -21,3 +21,7 @@ target_link_libraries(modelcommands
  52. include(tr_sources)
  53. add_tr_sources(${sources} ${headers})
  54. +
  55. +if (COMMAND cotire)
  56. + cotire(modelcommands)
  57. +endif()
  58. diff -rupN fsedit-qt5-master/source/libui/CMakeLists.txt fsedit-qt5-cotire/source/libui/CMakeLists.txt
  59. --- fsedit-qt5-master/source/libui/CMakeLists.txt 2013-09-25 17:02:56.000000000 +0200
  60. +++ fsedit-qt5-cotire/source/libui/CMakeLists.txt 2014-08-28 12:03:28.000000000 +0200
  61. @@ -48,3 +48,7 @@ target_link_libraries(ui
  62. include(tr_sources)
  63. add_tr_sources(${sources} ${headers} ${moc_headers} ${forms})
  64. +
  65. +if (COMMAND cotire)
  66. + cotire(ui)
  67. +endif()