Le 02/01/2015 11:43, Sylvain Joubert a écrit : > if(MSVC) > add_custom_target(ALL_RUN_TEST ALL DEPENDS RUN_TESTS) > endif() The "ALL" dependency should not be there. No need to run the tests at every compilation. This is better: if(MSVC) add_custom_target(ALL_RUN_TEST DEPENDS RUN_TESTS) endif() Sylvain