summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2023-03-27 11:06:57 -0400
committerCara Salter <cara@devcara.com>2023-03-27 11:06:57 -0400
commitfaee59ffe73367942c39b36c04a0c32b40ec38f0 (patch)
tree8bc6010b237b86acbaef3731ce835db47c1eb2d6
parent6091fb5349f6cda69d83304343f9d1dd9c97e08a (diff)
downloadclog-master.tar.gz
clog-master.zip
-rw-r--r--.gitignore23
-rw-r--r--CMakeLists.txt1
-rw-r--r--SConstruct1
3 files changed, 24 insertions, 1 deletions
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'])