Hi, I'm using the cache to avoid multiple target of the same library:
if( not libname_already_defined ) set( libname_already_defined TRUE CACHE INTERNAL TRUE ) ... endif( not libname_already_defined ) It works well under linux using the command line tool. The command line also produces a good solution to be used under VS. However, the GUI tool doesn't seems to behave like the command line tool. The problem is that the GUI tool performs a configure twice and the second time, the variables in the cache are already set. The results is that the outputted solution doesn't contain the libraries. Is there any workaround for the problem ? Cheers, Félix C. Morency
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake