Skip to content

Commit

Permalink
perf: ignore test source files
Browse files Browse the repository at this point in the history
  • Loading branch information
MambaWong committed Jul 19, 2024
1 parent a73eff4 commit e73e86c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ file(GLOB CYBER_SRCS
)

list(FILTER CYBER_SRCS EXCLUDE REGEX .*test[.]cc)
list(FILTER CYBER_SRCS EXCLUDE REGEX .*/cyber/class_loader/test/*)
list(REMOVE_ITEM CYBER_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/cyber/class_loader/shared_library/sample.cc")

add_library(${TARGET_NAME} SHARED
${CYBER_PROTO_SRCS}
Expand Down Expand Up @@ -339,4 +341,3 @@ install(TARGETS ${TARGET_NAME}
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
)

0 comments on commit e73e86c

Please sign in to comment.