|
|
|
@ -9,7 +9,7 @@ if(EXISTS ${CSL_DIR}) # Cheking if the directory exists
|
|
|
|
|
set(COMPILER_DEFS ${CSL_DIR}/compiler.cmake)
|
|
|
|
|
set(PROJECT_DEFS ${CSL_DIR}/config.cmake)
|
|
|
|
|
else()
|
|
|
|
|
message( FATAL_ERROR "${BoldRed}Please Select a valid BSL, CMake will exit.${ColourReset}" )
|
|
|
|
|
message( FATAL_ERROR "${BoldRed}Please Select a valid CSL, CMake will exit.${ColourReset}" )
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
include(${COMPILER_DEFS})
|
|
|
|
@ -24,6 +24,7 @@ set(EXECUTABLE ${PROJECT_NAME}) #Create the executable
|
|
|
|
|
####################################################################################################
|
|
|
|
|
set(INTERFACES_DIR ${CMAKE_SOURCE_DIR}/csl/interfaces)
|
|
|
|
|
set(UTILS_DIR ${CMAKE_SOURCE_DIR}/utils/assert)
|
|
|
|
|
set(DRIVERS_DIR ${CMAKE_DRIVERS_DIR}/drivers)
|
|
|
|
|
|
|
|
|
|
####################################################################################################
|
|
|
|
|
#SUBDIRECTORIES Will add the given folders to the porject an check for CmakeLists.txt
|
|
|
|
|