@@ -1,3 +1,5 @@
# build
-rawls_reader
-rawls_h_flip
+build
+
+# IDE
+.vscode
@@ -0,0 +1,7 @@
+# CMakeLists files in this project can
+# refer to the root source directory of the project as ${rawls-reader_SOURCE_DIR} and
+# to the root binary directory of the project as ${rawls-reader_BINARY_DIR}.
+cmake_minimum_required (VERSION 2.8.11)
+project(rawls-reader)
+add_subdirectory(rawls)
@@ -1,6 +0,0 @@
-compile:
- c++ rawls_reader.cpp -o rawls_reader
- c++ rawls_h_flip.cpp -o rawls_h_flip
-
-clean:
- rm rawls_reader && rm rawls_h_flip
@@ -0,0 +1,2 @@
+add_executable(rawls_reader rawls_reader.cpp)
+add_executable(rawls_h_flip rawls_h_flip.cpp)