Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

69 righe
2.8 KiB

  1. diff -rupN fseditor-1.0/CMakeLists.txt fseditor-1.0.cotire/CMakeLists.txt
  2. --- fseditor-1.0/CMakeLists.txt 2010-10-01 07:43:16.000000000 +0200
  3. +++ fseditor-1.0.cotire/CMakeLists.txt 2014-08-28 18:28:39.000000000 +0200
  4. @@ -1,6 +1,9 @@
  5. CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
  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 fseditor-1.0/source/application/CMakeLists.txt fseditor-1.0.cotire/source/application/CMakeLists.txt
  13. --- fseditor-1.0/source/application/CMakeLists.txt 2010-10-01 07:43:16.000000000 +0200
  14. +++ fseditor-1.0.cotire/source/application/CMakeLists.txt 2014-08-28 18:24:56.000000000 +0200
  15. @@ -17,3 +17,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 fseditor-1.0/source/libfstest/CMakeLists.txt fseditor-1.0.cotire/source/libfstest/CMakeLists.txt
  23. --- fseditor-1.0/source/libfstest/CMakeLists.txt 2010-10-01 07:43:16.000000000 +0200
  24. +++ fseditor-1.0.cotire/source/libfstest/CMakeLists.txt 2014-08-28 18:25:41.000000000 +0200
  25. @@ -3,3 +3,7 @@ INCLUDE(${QT_USE_FILE})
  26. ADD_LIBRARY(fstest STATIC fstest.h fstest.cpp)
  27. SET_TARGET_PROPERTIES(fstest PROPERTIES PROJECT_LABEL "libfstest")
  28. +
  29. +if (COMMAND cotire)
  30. + cotire(fstest)
  31. +endif()
  32. diff -rupN fseditor-1.0/source/libmodel/CMakeLists.txt fseditor-1.0.cotire/source/libmodel/CMakeLists.txt
  33. --- fseditor-1.0/source/libmodel/CMakeLists.txt 2010-10-01 07:43:16.000000000 +0200
  34. +++ fseditor-1.0.cotire/source/libmodel/CMakeLists.txt 2013-10-06 20:05:06.000000000 +0200
  35. @@ -34,3 +34,7 @@ FSTEST(test_libmodel LibModel)
  36. INCLUDE(tr_sources)
  37. ADD_TR_SOURCES(${sources} ${headers} ${moc_headers})
  38. +
  39. +if (COMMAND cotire)
  40. + cotire(model)
  41. +endif()
  42. diff -rupN fseditor-1.0/source/libmodelcommands/CMakeLists.txt fseditor-1.0.cotire/source/libmodelcommands/CMakeLists.txt
  43. --- fseditor-1.0/source/libmodelcommands/CMakeLists.txt 2010-10-01 07:43:16.000000000 +0200
  44. +++ fseditor-1.0.cotire/source/libmodelcommands/CMakeLists.txt 2013-10-06 20:05:11.000000000 +0200
  45. @@ -18,3 +18,7 @@ TARGET_LINK_LIBRARIES(modelcommands mode
  46. INCLUDE(tr_sources)
  47. ADD_TR_SOURCES(${sources} ${headers})
  48. +
  49. +if (COMMAND cotire)
  50. + cotire(modelcommands)
  51. +endif()
  52. diff -rupN fseditor-1.0/source/libui/CMakeLists.txt fseditor-1.0.cotire/source/libui/CMakeLists.txt
  53. --- fseditor-1.0/source/libui/CMakeLists.txt 2010-10-01 07:43:16.000000000 +0200
  54. +++ fseditor-1.0.cotire/source/libui/CMakeLists.txt 2013-10-06 20:05:18.000000000 +0200
  55. @@ -44,3 +44,7 @@ TARGET_LINK_LIBRARIES(ui model modelcomm
  56. INCLUDE(tr_sources)
  57. ADD_TR_SOURCES(${sources} ${headers} ${moc_headers} ${forms})
  58. +
  59. +if (COMMAND cotire)
  60. + cotire(ui)
  61. +endif()