You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
524 B
CMake
15 lines
524 B
CMake
set(all_files
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src/claserpath.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src/claserpath.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src/claserpathdriver.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src/claserpathdriver.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src/cdhgripper_rs485.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src/cdhgripper_rs485.cpp
|
|
)
|
|
|
|
set(inc_files ${all_files})
|
|
set(src_files ${all_files})
|
|
list(FILTER inc_files INCLUDE REGEX ".*.h$")
|
|
list(FILTER src_files INCLUDE REGEX ".*.cpp$")
|
|
|
|
source_group("cmake" REGULAR_EXPRESSION [.]*cmake[.]*) |