[CMake] Possible set_tests_properties(ENVIRONMENT) bug?

2009-05-12 Thread Scott Gray
While trying to research the answer to my question about how to make your test program locate its dependent DLL's (see my previous posting entitled add_test and locating dependent DLL's on Windows), I decided to try the recently added ENVIRONMENT property of set_tests_properties to set the

Re: [CMake] Possible set_tests_properties(ENVIRONMENT) bug?

2009-05-12 Thread David Cole
I think it's just a semicolon problem. Unfortunately for all of us Windows PATH and CMake both use ; as their list separator character. And the set_test_properties ENVIRONMENT property is a semicolon delimited list of name1=value1;name2=value2;name3=value3;...etc... To embed ; characters inside

Re: [CMake] Possible set_tests_properties(ENVIRONMENT) bug?

2009-05-12 Thread Scott Gray
David, Awesome! That did the trick! Thanks for the advice. -scott David Cole wrote: I think it's just a semicolon problem. Unfortunately for all of us Windows PATH and CMake both use ; as their list separator character. And the set_test_properties ENVIRONMENT property is a semicolon