You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.1 KiB
22 lines
1.1 KiB
#Declareing header directory for the project
|
|
#To add a new directory
|
|
# -> list(APPEND PROJECT_HEADERS_DIR ${PROJECT_DIR}/YOUR_DESIRED_DIRECTORY)
|
|
# list() = List declaration "DON'T CHANGE"
|
|
# PROJECT_HEADERS_DIR = Variable containing the listed direcotries "DON'T CHANCE
|
|
# ${PROJECT_DIR} = Direcotry of the main project this is per default the current direcotry it is defined in ked/CMakeLists.txt
|
|
list(APPEND PROJECT_HEADERS_DIR ${PROJECT_DIR}/headers)
|
|
|
|
#Declaring sources directory for the project
|
|
#To add a new directory
|
|
# -> list(APPEND PROJECT_SOURCES_DIR ${PROJECT_DIR}/YOUR_DESIRED_DIRECTORY)
|
|
# list() = List declaration "DON'T CHANGE"
|
|
# PROJECT_SOURCES_DIR = Variable containing the listed direcotries "DON'T CHANCE
|
|
# ${PROJECT_DIR} = Direcotry of the main project this is per default the current direcotry it is defined in ked/CMakeLists.txt
|
|
list(APPEND PROJECT_SOURCES_DIR ${PROJECT_DIR}/src)
|
|
list(APPEND PROJECT_SOURCES_DIR ${PROJECT_DIR}/sensors)
|
|
|
|
#Declaring sources to be compiled for the project.
|
|
#CMake will look in each previsouly declarec sources directory until to find this files.
|
|
set(PROJECT_SOURCES_DIR_LIST uartComm sensor)
|
|
|