mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00

In issue #1000 a lot of the work is on exposing a better API to ISVs. This new project serves these purposes: - Ensure the exposed API works in practice - Example for ISVs to use if they want to extend CMake - Provide an in-tree example of the API in use, so future editors of CDT have better chance of understanding *why* items are done as they are.
9 lines
382 B
C++
9 lines
382 B
C++
#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;
|
|
}
|