LAview win32 bundle builds
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. PROJECT (LAviewWin32Bundle C)
  2. CMAKE_MINIMUM_REQUIRED (VERSION 2.8)
  3. INCLUDE (ExternalProject)
  4. LIST (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/backbone)
  5. LIST (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/backbone/override/nsis.installoptions)
  6. SET (PROJECT_LOWERCASE_NAME "laview-win32-bundle")
  7. SET (PROJECT_DESCRIPTION "LAview Win32 Bundle.")
  8. SET (MAJOR 0)
  9. SET (MINOR 0)
  10. SET (PATCH 0)
  11. ExternalProject_Add (gobject-plugin
  12. SOURCE_DIR ${CMAKE_SOURCE_DIR}/gobject-plugin
  13. #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
  14. CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
  15. # PREFIX gobject-plugin
  16. INSTALL_DIR bundle
  17. )
  18. ExternalProject_Add (latex-struct
  19. SOURCE_DIR ${CMAKE_SOURCE_DIR}/latex-struct
  20. #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
  21. CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
  22. # PREFIX latex-struct
  23. INSTALL_DIR bundle
  24. )
  25. ExternalProject_Add (core
  26. SOURCE_DIR ${CMAKE_SOURCE_DIR}/core
  27. #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
  28. CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
  29. # PREFIX core
  30. INSTALL_DIR bundle
  31. )
  32. ExternalProject_Add (data-example
  33. SOURCE_DIR ${CMAKE_SOURCE_DIR}/data-example
  34. #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
  35. CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
  36. # PREFIX data-example
  37. INSTALL_DIR bundle
  38. )
  39. ExternalProject_Add (object-example
  40. SOURCE_DIR ${CMAKE_SOURCE_DIR}/object-example
  41. #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
  42. CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
  43. # PREFIX object-example
  44. INSTALL_DIR bundle
  45. )
  46. ExternalProject_Add (desktop
  47. SOURCE_DIR ${CMAKE_SOURCE_DIR}/desktop
  48. #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
  49. CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
  50. # PREFIX desktop
  51. INSTALL_DIR bundle
  52. )
  53. ExternalProject_Add (cairo-chart
  54. SOURCE_DIR ${CMAKE_SOURCE_DIR}/cairo-chart
  55. #CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
  56. CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
  57. # PREFIX cairo-chart
  58. INSTALL_DIR bundle
  59. )
  60. #DEPENDS latex-struct
  61. #INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/bin DESTINATION "win32")
  62. #INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/include)
  63. #INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/lib)
  64. #INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/share)
  65. ADD_SUBDIRECTORY (cpack)