From faee59ffe73367942c39b36c04a0c32b40ec38f0 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Mon, 27 Mar 2023 11:06:57 -0400 Subject: cmake --- .gitignore | 23 +++++++++++++++++++++++ CMakeLists.txt | 1 + SConstruct | 1 - 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 CMakeLists.txt delete mode 100644 SConstruct diff --git a/.gitignore b/.gitignore index c2e4de6..de9211f 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,26 @@ tags # End of https://www.toptal.com/developers/gitignore/api/vim,scons *.o +# Created by https://www.toptal.com/developers/gitignore/api/cmake +# Edit at https://www.toptal.com/developers/gitignore?templates=cmake + +### CMake ### +CMakeLists.txt.user +CMakeCache.txt +CMakeFiles +CMakeScripts +Testing +Makefile +cmake_install.cmake +install_manifest.txt +compile_commands.json +CTestTestfile.cmake +_deps + +### CMake Patch ### +# External projects +*-prefix/ + +# End of https://www.toptal.com/developers/gitignore/api/cmake +build/ +libclog.* diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..57c093b --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1 @@ +add_library(clog clog.c clog.h) diff --git a/SConstruct b/SConstruct deleted file mode 100644 index 7b198c3..0000000 --- a/SConstruct +++ /dev/null @@ -1 +0,0 @@ -SharedLibrary('clog', ['clog.c']) -- cgit v1.2.3