Skip to content

Commit

Permalink
Remove EXECULDED list, since this will be handling from generator
Browse files Browse the repository at this point in the history
  • Loading branch information
HaseenaSainul committed Jan 15, 2024
1 parent eae747a commit 0bc9358
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ find_package(WPEFramework)
set(INTERFACES_PATTERNS "I*.h" CACHE STRING "Patterns matching files for which stubs should be generated")
set(JSONRPC_PATTERNS "*.json" CACHE STRING "Patterns matching files for which json stubs should be generated")

file(GLOB EXCLUDED_FILES
"${CMAKE_SOURCE_DIR}/interfaces/ICommand.h"
"${CMAKE_SOURCE_DIR}/interfaces/ICompositionBuffer.h"
"${CMAKE_SOURCE_DIR}/interfaces/IDRM.h"
"${CMAKE_SOURCE_DIR}/interfaces/IExternalBase.h"
)

if(ENABLE_STRICT_COMPILER_SETTINGS)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
message(FATAL_ERROR "Compiling with Clang")
Expand Down
1 change: 0 additions & 1 deletion definitions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ file(GLOB JSON_FILE ${JSONRPC_PATTERNS})
separate_arguments(INTERFACES_PATTERNS)
list(TRANSFORM INTERFACES_PATTERNS PREPEND "${CMAKE_SOURCE_DIR}/interfaces/")
file(GLOB INTERFACE_FILE ${INTERFACES_PATTERNS})
list(REMOVE_ITEM INTERFACE_FILE ${EXCLUDED_FILES})

set(PUBLIC_HEADERS "definitions.h" "ValuePoint.h")

Expand Down
1 change: 0 additions & 1 deletion interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ endif()

separate_arguments(INTERFACES_PATTERNS)
file(GLOB INTERFACES_HEADERS ${INTERFACES_PATTERNS})
list(REMOVE_ITEM INTERFACES_HEADERS ${EXCLUDED_FILES})
ProxyStubGenerator(INPUT "${INTERFACES_HEADERS}" OUTDIR "${CMAKE_CURRENT_BINARY_DIR}/generated" INCLUDE_PATH ${GENERATOR_SEARCH_PATH})

file(GLOB JSON_HEADERS json/*.h)
Expand Down

0 comments on commit 0bc9358

Please sign in to comment.