summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-12-12 11:22:47 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-20 20:07:26 +0100
commite43f090265f0e42dc1a6d9f2691e0b84971209fa (patch)
tree2f7ab6e18a10b7a4363f53fb270997f07f07cb31 /CMakeLists.txt
parent6fcc3a56d84901ad077a801567a590451263078d (diff)
cmake: remove!
This build was never complete and also was not maintained probebly. It is also dropped in favour of meson which is cool, merged, works & is fast. Differential Revision: https://phab.enlightenment.org/D7010
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt70
1 files changed, 0 insertions, 70 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
deleted file mode 100644
index 48c890e..0000000
--- a/CMakeLists.txt
+++ /dev/null
@@ -1,70 +0,0 @@
1cmake_minimum_required(VERSION 3.4)
2
3set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/helpers")
4
5include(GNUInstallDirs)
6include(EflMacros)
7
8EFL_PROJECT(1.18.99)
9
10if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
11 message(FATAL_ERROR "In-source builds not allowed. Use: mkdir -p build && cmake -H. -Bbuild")
12endif()
13
14set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}" CACHE PATH "Path to store built libraries")
15set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}" CACHE PATH "Path to store built static libraries")
16set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" CACHE PATH "Path to store built executables")
17
18add_definitions(
19 "-DHAVE_CONFIG_H"
20 "-DLIB_INSTALL_DIR=\"${LIB_INSTALL_DIR}\""
21 "-DEXEC_INSTALL_DIR=\"${EXEC_INSTALL_DIR}\""
22 "-DPACKAGE_BIN_DIR=\"${CMAKE_INSTALL_FULL_BINDIR}\""
23 "-DPACKAGE_LIB_DIR=\"${CMAKE_INSTALL_FULL_LIBDIR}\""
24 "-DPACKAGE_BUILD_DIR=\"${CMAKE_SOURCE_DIR}\""
25 "-DPACKAGE_VERSION=\"${PROJECT_VERSION}\""
26 )
27
28include_directories(
29 ${PROJECT_SOURCE_DIR}/src/lib/efl
30 ${PROJECT_BINARY_DIR}/src/lib/efl
31 )
32
33include(${CMAKE_SOURCE_DIR}/cmake/config/common.cmake)
34
35EFL_SUPPORT_LIB(lz4)
36EFL_SUPPORT_LIB(draw)
37EFL_SUPPORT_LIB(freetype)
38EFL_SUPPORT_LIB(rg_etc)
39EFL_SUPPORT_LIB(triangulator)
40
41EFL_LIB(eina)
42EFL_LIB(eolian)
43EFL_LIB(eo)
44EFL_LIB(efl)
45EFL_LIB(emile)
46EFL_LIB(eet)
47EFL_LIB(ecore)
48EFL_LIB(ecore_con)
49EFL_LIB(ecore_ipc)
50EFL_LIB(ecore_file)
51EFL_LIB(eldbus)
52EFL_LIB(embryo)
53EFL_LIB(ector)
54EFL_LIB(eeze)
55EFL_LIB(ecore_input)
56EFL_LIB(ecore_x)
57
58EFL_OPTIONS_SUMMARY()
59
60# TODO: when autotools is gone, rename this file in repository
61# and remove this copy (using generate to skip @-subst)
62file(GENERATE
63 OUTPUT ${PROJECT_BINARY_DIR}/src/lib/efl/config.h
64 INPUT ${PROJECT_SOURCE_DIR}/src/lib/efl/config.h.cmake)
65EFL_HEADER_CHECKS_FINALIZE(${PROJECT_BINARY_DIR}/src/lib/efl/config_gen.h)
66
67configure_file(
68 ${PROJECT_SOURCE_DIR}/src/lib/efl/Efl_Config.h.cmake
69 ${PROJECT_BINARY_DIR}/src/lib/efl/Efl_Config.h)
70EFL_FINALIZE()