aboutsummaryrefslogtreecommitdiff
path: root/test cases/cmake/3 advanced no dep/main.cpp
blob: 6cc4c0ce30fed7e52bfed1b281912d9d4fdb2492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>
#include <cmMod.hpp>
#include "config.h"

#if CONFIG_OPT != 42
#error "Invalid value of CONFIG_OPT"
#endif

using namespace std;

int main() {
  cmModClass obj("Hello");
  cout << obj.getStr() << endl;
  return 0;
}