c++ - CMake set_target_properties and include_directories -


my question largely related this (unanswered) question on cmake mailing list.

essentially want know behaviour of include_directories behind scenes of visual studio 2010 generator; directories previous calls include_directories overwritten when this:

set_target_properties(${target} properties compile_flags /i${some_directory}) 

the comments on mailing list "it shouldn't", seems behaviour seeing. understand projects in vs2010 little more complicated, unable find definitive answer. bug 2010 generator?

i'm using visual studio 2010 sp1 , cmake 2.8.4

i haven't seen cmakelists.txt, ordering of include paths good? think order of include paths not defined if way. see: /i compiler option, set_target_properties , include_directories documentation.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -