Skip to content

Commit

Permalink
Merge pull request #70 from MambaWong/ignore_test
Browse files Browse the repository at this point in the history
perf: ignore test source files
  • Loading branch information
minhanghuang committed Jul 20, 2024
2 parents 4b76752 + e73e86c commit 2af2a17
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 @@ -165,6 +165,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 @@ -301,4 +303,3 @@ install(TARGETS ${TARGET_NAME}
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
)

0 comments on commit 2af2a17

Please sign in to comment.