Distinguish between public and private headers in jerry-core (#2472)
The patch also ensures that all components access only the public headers of other components (except for unit tests, which are allowed to use private headers, too). JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -20,6 +20,8 @@ project (${JERRY_EXT_NAME} C)
|
||||
set(INCLUDE_EXT_PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
set(INCLUDE_EXT_PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/common")
|
||||
|
||||
set(INCLUDE_EXT_PUBLIC ${INCLUDE_EXT_PUBLIC} PARENT_SCOPE) # for jerry-port
|
||||
|
||||
if(FEATURE_INIT_FINI)
|
||||
set(DEFINES_EXT ${DEFINES_EXT} ENABLE_INIT_FINI)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user