1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/cmake/org.eclipse.cdt.cmake.example/templates/simple/main.cpp

10 lines
382 B
C++
Raw Normal View History

#include <iostream>
#include "config.h"
int main(int argc, char **argv) {
std::cout << "Hello World" << std::endl;
std::cout << "Welcome to the ISV Example for how to extend CMake projects in Eclipse CDT." << std::endl;
std::cout << "Version " << ${projectName?replace(" ", "_")}_VERSION_MAJOR << "." << ${projectName?replace(" ", "_")}_VERSION_MINOR << std::endl;
return 0;
}