Simmons, Aaron wrote: > Lots of these subfolders have per-source flags/args > > Is there some other way to go about doing this?
Generally per-source flags should be reserved for tweaking and workarounds such as using -O0 to disable buggy optimizations. Their Makefile and VS project file implementations are not scalable (as in changing one flag on one file causes the whole target to recompile). Are all these sources going into a single executable? If so, I suggest using an add_library() to create a static library for each feature. Then link the executable to all of them. -Brad _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake