File tree 1 file changed +16
-7
lines changed
1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.8)
2
- project (simdjson C )
2
+ project (simdjson)
3
3
4
4
add_compile_definitions (HAVE_SIMDJSON)
5
5
6
- set (SOURCE_FILES php_simdjson simdjson.cpp)
6
+ set (SOURCE_FILES
7
+ php_simdjson.h
8
+ simdjson.cpp
9
+ src/bindings.h
10
+ src/bindings.cpp
11
+ src/simdjson.h
12
+ src/simdjson.cpp
13
+ )
7
14
8
15
execute_process (
9
16
COMMAND php-config --include -dir
@@ -13,11 +20,13 @@ string(REGEX REPLACE "\n$" "" PHP_SOURCE "${PHP_SOURCE}")
13
20
14
21
message ("Using source directory: ${PHP_SOURCE} " )
15
22
16
- include_directories (${PHP_SOURCE} )
17
- include_directories (${PHP_SOURCE} /main)
18
- include_directories (${PHP_SOURCE} /Zend)
19
- include_directories (${PHP_SOURCE} /TSRM)
20
- include_directories (${PROJECT_SOURCE_DIR} )
23
+ include_directories (
24
+ "${PHP_SOURCE} "
25
+ "${PHP_SOURCE} /main"
26
+ "${PHP_SOURCE} /Zend"
27
+ "${PHP_SOURCE} /TSRM"
28
+ "${PROJECT_SOURCE_DIR} "
29
+ )
21
30
22
31
add_custom_target (configure
23
32
COMMAND phpize && ./configure
You can’t perform that action at this time.
0 commit comments