summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'])