Compare commits
No commits in common. "e0655c7f0424b9f22cac44e62b41ba7e1cacdf04" and "63b8c9d465823ca4d432f07708d20fe677cef42e" have entirely different histories.
e0655c7f04
...
63b8c9d465
2
.gitignore
vendored
2
.gitignore
vendored
@ -32,5 +32,3 @@
|
||||
*.out
|
||||
*.app
|
||||
|
||||
# Building
|
||||
build
|
||||
|
@ -1,14 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
project(
|
||||
search-algorithms
|
||||
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)
|
||||
|
||||
include_directories(${search-algorithms_SOURCE_DIR}/src)
|
||||
|
||||
add_subdirectory(src)
|
16
README.md
16
README.md
@ -1,18 +1,2 @@
|
||||
# search-algorithms
|
||||
|
||||
## 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 program should now be compiled at ./build/bin/search-algorithms
|
||||
|
||||
Simply run the program using:
|
||||
|
||||
build/bin/search-algorithms
|
||||
|
@ -1,5 +0,0 @@
|
||||
add_executable(search-algorithms
|
||||
./main.cpp
|
||||
)
|
||||
|
||||
target_include_directories(search-algorithms PUBLIC ${CMAKE_CURRENT_LIST_DIR})
|
@ -1,6 +0,0 @@
|
||||
#include <iostream>
|
||||
|
||||
int main () {
|
||||
std::cout << "Hello world" << std::endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user