CMake build system
Visit the CMake home page at http://www.cmake.orgExamples
source_group
You can put your *.c and *.h files in visual studio folders using the source_group command.
source_group(Sources REGULAR_EXPRESSION ".+\\.c$") source_group(Includes REGULAR_EXPRESSION ".+\\.h$")
References
- http://sidvind.com/wiki/CMake/Configuration_files
- http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_specify_my_own_configurations_.28for_generators_that_allow_it.29_.3F
- http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_with_a_custom_made_one_.3F
- http://stackoverflow.com/questions/6377160/link-library-based-on-build-configuration-cmake
- http://www.cmake.org/pipermail/cmake/2011-February/042824.html
- http://www.cmake.org/cmake/help/cmake_tutorial.html