summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/BuildDepends/CompilerDependencies.step1.cmake
blob: 1da2593cde5028dc161df4c686d5527a8a95d3c3 (plain)
1
2
3
4
5
6
7
8
9
file(WRITE "${RunCMake_TEST_BINARY_DIR}/main.h" [[
#define COUNT 1
]])

file(WRITE "${RunCMake_TEST_BINARY_DIR}/main.c" [[
#include "main.h"

int main(void) { return COUNT; }
]])