Browse Source

hello world!

Eduardo Bart 10 years ago
commit
ca2e22ec41
3 changed files with 18 additions and 0 deletions
  1. 7
    0
      .gitignore
  2. 4
    0
      CMakeLists.txt
  3. 7
    0
      srcs/main.cpp

+ 7
- 0
.gitignore View File

@@ -0,0 +1,7 @@
1
+build
2
+CMakeFiles
3
+CMakeCache.txt
4
+cmake_install.cmake
5
+Makefile
6
+otclient
7
+!.gitignore

+ 4
- 0
CMakeLists.txt View File

@@ -0,0 +1,4 @@
1
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
2
+PROJECT(otclient)
3
+ADD_EXECUTABLE(otclient srcs/main.cpp)
4
+

+ 7
- 0
srcs/main.cpp View File

@@ -0,0 +1,7 @@
1
+#include <iostream>
2
+
3
+int main(int argc, const char *argv[])
4
+{
5
+    std::cout << "Hello World!" << std::endl;
6
+    return 0;
7
+}

Loading…
Cancel
Save