Skip to content

Commit 0fc894d

Browse files
committed
Fix Clion code insights
1 parent 017f34e commit 0fc894d

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

CMakeLists.txt

+16-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
cmake_minimum_required(VERSION 3.8)
2-
project(simdjson C)
2+
project(simdjson)
33

44
add_compile_definitions(HAVE_SIMDJSON)
55

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+
)
714

815
execute_process (
916
COMMAND php-config --include-dir
@@ -13,11 +20,13 @@ string(REGEX REPLACE "\n$" "" PHP_SOURCE "${PHP_SOURCE}")
1320

1421
message("Using source directory: ${PHP_SOURCE}")
1522

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+
)
2130

2231
add_custom_target(configure
2332
COMMAND phpize && ./configure

0 commit comments

Comments
 (0)