From 56a84270f4b88c48bf19f9d2cb5a77b34d4f350d Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 24 May 2020 10:50:20 -0400 Subject: Leave a commented reference to my scratch executable. Tired of rewriting it constantly. --- src/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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() -- cgit