mirror of
https://gitlab.com/niansa/descindex.git
synced 2025-03-06 20:48:44 +01:00
Initial structure
This commit is contained in:
commit
e630c7aaac
4 changed files with 29 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/CMakeLists.txt.user*
|
||||
/bin
|
10
CMakeLists.txt
Normal file
10
CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(descindex LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
add_executable(descindex src/main.cpp)
|
||||
|
||||
target_link_libraries(descindex PRIVATE fmt)
|
10
Makefile
Normal file
10
Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
.PHONY: build bindir clean
|
||||
|
||||
build: bindir src/*.cpp
|
||||
$(CXX) -std=c++17 -l fmt -o bin/descindex src/*.cpp
|
||||
|
||||
bindir:
|
||||
mkdir -p bin
|
||||
|
||||
clean:
|
||||
rm -rf bin
|
7
src/main.cpp
Normal file
7
src/main.cpp
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include <iostream>
|
||||
|
||||
|
||||
|
||||
int main() {
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue