improve toxcore cmake and add flake

This commit is contained in:
2023-12-01 00:24:18 +01:00
parent c3a3904524
commit 7f939b6b60
5 changed files with 137 additions and 4 deletions

View File

@ -0,0 +1,11 @@
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
add_executable(totato
./main.cpp
)
target_compile_features(totato PUBLIC cxx_std_17)
target_link_libraries(totato PUBLIC
toxcore
)

3
src/main.cpp Normal file
View File

@ -0,0 +1,3 @@
int main(void) {
return 0;
}