Parcourir la source

Update of project description and add CMakeLists.txt

Jérôme BUISINE il y a 4 ans
Parent
commit
003251dfc2
7 fichiers modifiés avec 13 ajouts et 8 suppressions
  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