Compare commits

...

3 Commits

Author SHA1 Message Date
Trianta
e0d93f7bcc Added CMake building for current and future of project 2024-03-18 15:15:10 -05:00
Trianta
637cde0e97 Add gitignore for cmake build 2024-03-18 15:13:40 -05:00
Trianta
4c29af235e Added base README instructions 2024-03-18 15:09:48 -05:00
5 changed files with 37 additions and 0 deletions

2
.gitignore vendored
View File

@ -32,3 +32,5 @@
*.out *.out
*.app *.app
# Build directory
build

12
CMakeLists.txt Normal file
View 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)

View File

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

@ -0,0 +1 @@
add_subdirectory(arff)

4
src/arff/CMakeLists.txt Normal file
View File

@ -0,0 +1,4 @@
add_executable(arff
./main.cpp
)