1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-25 05:30:26 +08:00
Brad King 49d6dd67f1 complex: Simplify test for single-character exe name
Run the test executable as a custom command instead of depending on
cmSystemTools::RunSingleCommand.
2011-12-23 16:16:52 -05:00

10 lines
172 B
C++

// Include code from a header that should not be compiled separately.
#include "A.hh"
#include <stdio.h>
int main()
{
printf("#define A_VALUE %d\n", A());
return 0;
}