LAview.win32-bundle/CMakeLists.txt

77 lines
2.5 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)
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-12 14:35:01 +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
)
2016-06-11 18:37:37 +03:00
2016-05-13 00:50:45 +03:00
ExternalProject_Add (core
2016-05-13 01:27:57 +03:00
SOURCE_DIR ${CMAKE_SOURCE_DIR}/core
2016-06-11 12:37:54 +03:00
#CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=bundle
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_BINARY_DIR}/bundle
# PREFIX core
INSTALL_DIR bundle
2016-05-13 00:50:45 +03:00
)
2016-05-13 00:58:39 +03:00
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-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-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)