project with .cpp and .h files in the same logical folder?

Sep 5, 2014 at 3:17 AM

Is there a CMake setting/variable for how to generate a VS 2013 project with .cpp and .h files in the same folder? Also, we would like the project's folder structure to mimic the actual directory structure,

Warmest regards, Matt
Sep 5, 2014 at 9:44 PM
Nothing specific about MSFT tech, that's just cmake. That doesn't mean it's easy.

get_filename_component and file(RELATIVE_PATH ...) are also useful for structuring projects. You can spend a lot of time making your project files pretty in cmake.
Sep 5, 2014 at 9:48 PM
Thank you Ted.