1
0
Fork 0
mirror of https://gitlab.com/niansa/descindex.git synced 2025-03-06 20:48:44 +01:00

Initial structure

This commit is contained in:
niansa 2021-09-18 21:30:55 +02:00
commit e630c7aaac
4 changed files with 29 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/CMakeLists.txt.user*
/bin

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

@ -0,0 +1,7 @@
#include <iostream>
int main() {
}