[cmake-developers] Run program/command before test

Roman Wüger roman.wueger at gmx.at
Tue Feb 16 07:17:31 EST 2016


Hello,

Is it possible with CMake >= 3.4.0 to run a program/command before the test and another program after the test was run?

The meaning of that would be, that I want to start a small server program and run the "client" test. After the test was finished, kill the process of the server program or do a graceful shutdown of it.

Thanks in advance

Best Regards
Roman


More information about the cmake-developers mailing list