11 lines
364 B
CMake
11 lines
364 B
CMake
# Find all source files in a single current directory
|
|
# Save the name to DIR_examples_SRCS
|
|
aux_source_directory(. DIR_examples_SRCS)
|
|
|
|
include_directories(../lib/Config)
|
|
include_directories(../lib/GUI)
|
|
include_directories(../lib/e-Paper)
|
|
|
|
# Generate the link library
|
|
add_library(examples ${DIR_examples_SRCS})
|
|
target_link_libraries(examples PUBLIC Config) |