VS2015: Adjust folder structure in CMake to resemble to QtCreator one
Open, Needs TriagePublic

BAndiT1983 updated the task description. (Show Details)
BAndiT1983 raised the priority of this task from to Needs Triage.
BAndiT1983 added a project: Open Cine.
BAndiT1983 moved this task to Build on the Open Cine board.
BAndiT1983 added a subscriber: BAndiT1983.
BAndiT1983 added a comment.EditedApr 28 2016, 9:13 PM

Current implementation in OCCore / CMakeLists.txt:

set(_src_root_path ${CMAKE_CURRENT_SOURCE_DIR})

    GLOB_RECURSE _source_list 

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}")