File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 11macro (add_dir DIRS)
22 foreach (dir ${DIRS} )
3- message ( "adding ${dir} to ${PROJECT_NAME} " )
4- include_directories (${dir} )
5- file ( GLOB ${dir} __INCLUDES_H ${dir} ${dir} /*.h)
6- file ( GLOB ${dir} __INCLUDES_HPP ${dir} ${dir} /*.hpp)
7- list ( APPEND ${PROJECT_NAME} __INCLUDES ${${dir} __INCLUDES_H} ${${dir} __INCLUDES_HPP} )
8- file ( GLOB ${dir} __SOURCES ${dir} ${dir} /*.cpp)
9- list ( APPEND ${PROJECT_NAME} __SOURCES ${${dir} __SOURCES} )
3+ message ( "adding ${dir} to ${PROJECT_NAME} " )
4+ include_directories (${dir} )
5+ file ( GLOB ${dir} __INCLUDES_H ${dir} ${dir} /*.h)
6+ file ( GLOB ${dir} __INCLUDES_HPP ${dir} ${dir} /*.hpp)
7+ list ( APPEND ${PROJECT_NAME} __INCLUDES ${${dir} __INCLUDES_H} ${${dir} __INCLUDES_HPP} )
8+ file ( GLOB ${dir} __SOURCES_CPP ${dir} ${dir} /*.cpp)
9+ file ( GLOB ${dir} __SOURCES_C ${dir} ${dir} /*.c)
10+ list ( APPEND ${PROJECT_NAME} __SOURCES ${${dir} __SOURCES_C} ${${dir} __SOURCES_CPP} )
1011 endforeach ()
1112endmacro ()
You can’t perform that action at this time.
0 commit comments