Browse Source

Update of project description and add CMakeLists.txt

Jérôme BUISINE 2 months ago
parent
commit
003251dfc2
7 changed files with 13 additions and 8 deletions
  1. 4 2
      .gitignore
  2. 7 0
      CMakeLists.txt
  3. 0 6
      Makefile
  4. BIN
      README.md
  5. 2 0
      rawls/CMakeLists.txt
  6. 0 0
      rawls/rawls_h_flip.cpp
  7. 0 0
      rawls/rawls_reader.cpp

+ 4 - 2
.gitignore

@@ -1,3 +1,5 @@
 # build
-rawls_reader
-rawls_h_flip
+build
+
+# IDE
+.vscode

+ 7 - 0
CMakeLists.txt

@@ -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)

+ 0 - 6
Makefile

@@ -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

BIN
README.md


+ 2 - 0
rawls/CMakeLists.txt

@@ -0,0 +1,2 @@
+add_executable(rawls_reader rawls_reader.cpp)
+add_executable(rawls_h_flip rawls_h_flip.cpp)

rawls_h_flip.cpp → rawls/rawls_h_flip.cpp


rawls_reader.cpp → rawls/rawls_reader.cpp