LAview.win32-bundle/CMakeLists.txt

86 lines
2.9 KiB
CMake
Raw Normal View History

2016-06-11 18:33:56 +03:00
PROJECT (LAviewWin32Bundle C)
2016-05-13 00:50:45 +03:00
CMAKE_MINIMUM_REQUIRED (VERSION 2.8)
INCLUDE (ExternalProject)
2016-05-13 01:04:02 +03:00
LIST (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/backbone)
LIST (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/backbone/override/nsis.installoptions)
2016-05-13 01:04:02 +03:00
2016-06-11 12:37:54 +03:00
SET (PROJECT_LOWERCASE_NAME "laview-win32-bundle")
SET (PROJECT_DESCRIPTION "LAview Win32 Bundle.")
SET (MAJOR 0)
SET (MINOR 0)
SET (PATCH 0)
2016-06-16 23:29:26 +03:00
ExternalProject_Add (gobject-plugin
SOURCE_DIR ${CMAKE_SOURCE_DIR}/gobject-plugin
#CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
# PREFIX gobject-plugin
INSTALL_DIR bundle
)
2016-06-12 14:35:01 +03:00
ExternalProject_Add (latex-struct
SOURCE_DIR ${CMAKE_SOURCE_DIR}/latex-struct
#CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
# PREFIX latex-struct
INSTALL_DIR bundle
)
2016-06-23 23:18:24 +03:00
ExternalProject_Add (core
SOURCE_DIR ${CMAKE_SOURCE_DIR}/core
#CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
# PREFIX core
INSTALL_DIR bundle
)
2016-06-12 15:07:41 +03:00
ExternalProject_Add (data-example
SOURCE_DIR ${CMAKE_SOURCE_DIR}/data-example
2016-06-12 14:35:01 +03:00
#CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
2016-06-12 15:07:41 +03:00
# PREFIX data-example
2016-06-12 14:35:01 +03:00
INSTALL_DIR bundle
)
2016-06-12 15:07:41 +03:00
ExternalProject_Add (object-example
SOURCE_DIR ${CMAKE_SOURCE_DIR}/object-example
2016-06-12 14:35:01 +03:00
#CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
2016-06-12 15:07:41 +03:00
# PREFIX object-example
2016-06-12 14:35:01 +03:00
INSTALL_DIR bundle
)
2016-06-23 23:18:24 +03:00
ExternalProject_Add (desktop
SOURCE_DIR ${CMAKE_SOURCE_DIR}/desktop
#CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
# PREFIX desktop
INSTALL_DIR bundle
)
2017-12-23 18:53:03 +03:00
ExternalProject_Add (cairo-chart
SOURCE_DIR ${CMAKE_SOURCE_DIR}/cairo-chart
#CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
# PREFIX cairo-chart
INSTALL_DIR bundle
)
2016-06-11 12:37:54 +03:00
#DEPENDS latex-struct
#INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/bin DESTINATION "win32")
#INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/include)
#INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/lib)
#INSTALL (DIRECTORY ${CMAKE_BINARY_DIR}/share)
2016-06-11 19:16:57 +03:00
ADD_SUBDIRECTORY (cpack)