aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-05-24 10:50:20 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-05-24 10:50:20 -0400
commit56a84270f4b88c48bf19f9d2cb5a77b34d4f350d (patch)
tree8aa9cc277de89cdc29fa9d3ec0f05dee2939ab3c /src
parente1a47b385cb93c1b0cc759604ad06b7bdd48f15b (diff)
downloadspmc-56a84270f4b88c48bf19f9d2cb5a77b34d4f350d.tar.gz
Leave a commented reference to my scratch executable. Tired of rewriting it constantly.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6d27935..623ea68 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -12,6 +12,14 @@ add_executable(spm
target_link_directories(spm PUBLIC ${OpenSSL_LIBRARY_DIRS} ${CURL_LIBRARY_DIRS})
target_link_libraries(spm libspm ${OpenSSL_LIBRARIES} ${CURL_LIBRARIES})
+## Uncomment to build a scratch executable (i.e. for quick library development / verification)
+#add_executable(spm_scratch
+# scratch.c
+#)
+#
+#target_link_directories(spm_scratch PUBLIC ${OpenSSL_LIBRARY_DIRS} ${CURL_LIBRARY_DIRS})
+#target_link_libraries(spm_scratch libspm ${OpenSSL_LIBRARIES} ${CURL_LIBRARIES})
+
if (LINUX)
target_link_libraries(spm libspm rt)
endif()