| Status | Assigned | Task | ||
|---|---|---|---|---|
| Open | None | T648 VS2015: Adjust folder structure in CMake to resemble to QtCreator one | ||
| Open | BAndiT1983 | T660 VS2015: Remove generated Qt files from solution by adjusting CMake script |
Comment Actions
Current implementation in OCCore / CMakeLists.txt:
set(_src_root_path ${CMAKE_CURRENT_SOURCE_DIR})
file(
GLOB_RECURSE _source_list
LIST_DIRECTORIES false
"${_src_root_path}/*.c*"
"${_src_root_path}/*.h*"
)
foreach(_source IN ITEMS ${_source_list})
get_filename_component(_source_path "${_source}" PATH)
file(RELATIVE_PATH _source_path_rel "${_src_root_path}" "${_source_path}")
string(REPLACE "/" "\\" _group_path "${_source_path_rel}")
source_group("${_group_path}" FILES "${_source}")
endforeach()