This repository was archived by the owner on Jan 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -100,16 +100,16 @@ function(add_source_files var)
100100 source_group ("${_l_SOURCE_GROUP} " FILES ${__new_entries} )
101101 endif ()
102102 if (_l_DEBUG)
103- message (STATUS "CHILDLIST( result ${_l_LOCATION} )" )
103+ # message(STATUS "CHILDLIST( result ${_l_LOCATION})")
104104 endif ()
105105 CHILDLIST( result ${_l_LOCATION} )
106106
107107
108108 foreach ( dir IN LISTS result)
109109 if ( _l_DEBUG)
110- add_source_files( ${var} LOCATION "${_l_LOCATION} /${dir} " REGEX ${_l_REGEX} SOURCE_GROUP "${_l_SOURCE_GROUP}${dir} \\ " )
110+ add_source_files( ${var} LOCATION "${_l_LOCATION} /${dir} " REGEX ${_l_REGEX} SOURCE_GROUP "${_l_SOURCE_GROUP} \\ ${dir} " DEBUG )
111111 else ()
112- add_source_files( ${var} LOCATION "${_l_LOCATION} /${dir} " REGEX ${_l_REGEX} SOURCE_GROUP "${_l_SOURCE_GROUP}${dir} \\ " DEBUG )
112+ add_source_files( ${var} LOCATION "${_l_LOCATION} /${dir} " REGEX ${_l_REGEX} SOURCE_GROUP "${_l_SOURCE_GROUP} \\ ${dir} " )
113113 endif ()
114114 endforeach ()
115115
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ message(STATUS "Configuring ${PROJECT_NAME}")
3838#Scenario Driver
3939
4040add_source_files(HDRS LOCATION ${CMAKE_CURRENT_SOURCE_DIR} /include /sustain
41- REGEX "*.h" "*.hpp" SOURCE_GROUP "Headers\\ Public\\ " )
41+ REGEX "*.h" "*.hpp" SOURCE_GROUP "Headers\\ Public" DEBUG )
4242add_source_files(HDRS LOCATION ${CMAKE_CURRENT_SOURCE_DIR} /cpp
43- REGEX "*.h" "*.hpp" SOURCE_GROUP "Headers\\ Private\\ " )
43+ REGEX "*.h" "*.hpp" SOURCE_GROUP "Headers\\ Private" )
4444add_source_files(SRCS LOCATION ${CMAKE_CURRENT_SOURCE_DIR} /cpp
45- REGEX "*.c" "*.cpp" SOURCE_GROUP "Sources\\ " )
45+ REGEX "*.c" "*.cpp" SOURCE_GROUP "Sources" )
4646
4747
4848set (${PREFIX} _HEADERS ${HDRS} ${PUBLIC_HDRS} ${GEN_HDRS} )
You can’t perform that action at this time.
0 commit comments