Version guard imagick constants
[hiphop-php.git] / hphp / CMakeLists.txt
blob00005a6fbec0a4668a90d33ab995b7169bf1f432
2 #   +----------------------------------------------------------------------+
3 #   | HipHop for PHP                                                       |
4 #   +----------------------------------------------------------------------+
5 #   | Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com)          |
6 #   | Copyright (c) 1997-2010 The PHP Group                                |
7 #   +----------------------------------------------------------------------+
8 #   | This source file is subject to version 3.01 of the PHP license,      |
9 #   | that is bundled with this package in the file LICENSE, and is        |
10 #   | available through the world-wide-web at the following url:           |
11 #   | http://www.php.net/license/3_01.txt                                  |
12 #   | If you did not receive a copy of the PHP license and are unable to   |
13 #   | obtain it through the world-wide-web, please send a note to          |
14 #   | license@php.net so we can mail you a copy immediately.               |
15 #   +----------------------------------------------------------------------+
18 include(HPHPSetup)
19 include(FollySetup)
20 include(ExtZendCompat)
22 add_definitions("-DHHVM")
24 add_subdirectory(tools/bootstrap)
26 add_subdirectory(third_party/libafdt)
27 add_subdirectory(third_party/libmbfl)
28 add_subdirectory(third_party/libsqlite3)
29 add_subdirectory(third_party/timelib)
30 add_subdirectory(third_party/lz4)
31 add_subdirectory(third_party/double-conversion)
32 add_subdirectory(third_party/folly)
33 add_subdirectory(third_party/libzip)
34 if(ENABLE_FASTCGI)
35         add_subdirectory(third_party/ti)
36         add_subdirectory(third_party/thrift)
37 endif()
39 add_subdirectory(vixl)
40 add_subdirectory(neo)
41 add_subdirectory(parser)
42 add_subdirectory(zend)
43 add_subdirectory(util)
45 add_subdirectory(hhbbc)
46 add_subdirectory(compiler)
47 add_subdirectory(runtime)
48 add_subdirectory(runtime/ext_hhvm)
49 add_subdirectory(system)
51 add_subdirectory(hhvm)
53 if (NOT "$ENV{HPHP_NOTEST}" STREQUAL "1")
54         add_subdirectory(test)
55 endif ()
57 # Keep this last
58 add_subdirectory(tools/hphpize)