Compare commits
3 Commits
917dbec7a1
...
e0d93f7bcc
Author | SHA1 | Date | |
---|---|---|---|
|
e0d93f7bcc | ||
|
637cde0e97 | ||
|
4c29af235e |
2
.gitignore
vendored
2
.gitignore
vendored
@ -32,3 +32,5 @@
|
|||||||
*.out
|
*.out
|
||||||
*.app
|
*.app
|
||||||
|
|
||||||
|
# Build directory
|
||||||
|
build
|
||||||
|
12
CMakeLists.txt
Normal file
12
CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
|
project(
|
||||||
|
weka
|
||||||
|
LANGUAGES CXX)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 11 CACHE STRING "The C++ standard to use")
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
||||||
|
|
||||||
|
add_subdirectory(src)
|
18
README.md
18
README.md
@ -1,2 +1,20 @@
|
|||||||
# weka
|
# weka
|
||||||
|
|
||||||
|
## Compiling the project
|
||||||
|
|
||||||
|
Prerequisites
|
||||||
|
- C++11
|
||||||
|
|
||||||
|
In order to compile the project, simply run these two commands:
|
||||||
|
|
||||||
|
cmake -B build -S .
|
||||||
|
cmake --build build
|
||||||
|
|
||||||
|
## Running the Project
|
||||||
|
|
||||||
|
The programs should now be compiled at ./build/bin/
|
||||||
|
|
||||||
|
ARFF:
|
||||||
|
```plain
|
||||||
|
build/bin/something
|
||||||
|
```
|
||||||
|
1
src/CMakeLists.txt
Normal file
1
src/CMakeLists.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
add_subdirectory(arff)
|
4
src/arff/CMakeLists.txt
Normal file
4
src/arff/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
add_executable(arff
|
||||||
|
./main.cpp
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user