Hello
I have one project say C that is dependent on A ,and A is dependent on B.

in C.cmakelists.txt I am doing the following :

add_subdirectory(../A "${CMAKE_BINARY_DIR}")


ADD_LIBRARY(C SHARED
  ${C_S_SRCS}
)

TARGET_LINK_LIBRARIES(C
  A

)

in A cmakelists.txt I am doing the follwing :

add_subdirectory(../B "${CMAKE_BINARY_DIR}")

ADD_LIBRARY(A STATIC
  ${A_S_SRCS}
)


TARGET_LINK_LIBRARIES(A
  B
)

When I make the C project and select Build Solution everything compiles and
works ok.
but after that when I select Rebuild Solution cmake reruns and regenerates
the solutions and displayy message to me :
something like click yes to reload the solution.

I don't understand why this is happening cause I do not change anything in
the cmakelist.txt of either A ,B ot C.
_______________________________________________
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

Reply via email to