diff --git a/CMakeLists.txt b/CMakeLists.txt index 67a8f76..6f17593 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.11...3.15) #if using an older VERSION of curl ocsp stapling can be disabled set(CURL_MIN_VERSION "7.28.0") + # Setting up project project(curlcpp LANGUAGES CXX) @@ -33,7 +34,8 @@ add_subdirectory(src) # Set up test directory. add_subdirectory(test) +# Set library location set(CURLCPP_LIB_LOCATION "$") configure_file(CMake/curlcppConfig.cmake.in - ${CURLCPP_BINARY_DIR}/curlcppConfig.cmake @ONLY) + ${CMAKE_INSTALL_PREFIX}/lib/curlcpp/curlcppConfig.cmake @ONLY) diff --git a/biicode.conf b/biicode.conf deleted file mode 100644 index faf3f6c..0000000 --- a/biicode.conf +++ /dev/null @@ -1,44 +0,0 @@ -# Biicode configuration file - -[requirements] - lasote/curl: 2 - -[parent] - qiangwu/curlcpp: 0 -[paths] - # Local directories to look for headers (within block) - # / - include - -[dependencies] - # Manual adjust file implicit dependencies, add (+), remove (-), or overwrite (=) - # hello.h + hello_imp.cpp hello_imp2.cpp - # *.h + *.cpp - include/curl_writer.h = src/curl_writer.cpp - -[mains] - # Manual adjust of files that define an executable - # !main.cpp # Do not build executable from this file - # main2.cpp # Build it (it doesnt have a main() function, but maybe it includes it) - -[tests] - # Manual adjust of files that define a CTest test - # test/* pattern to evaluate this test/ folder sources like tests - test/easy.cpp - -[hooks] - # These are defined equal to [dependencies],files names matching bii*stage*hook.py - # will be launched as python scripts at stage = {post_process, clean} - # CMakeLists.txt + bii/my_post_process1_hook.py bii_clean_hook.py - -[includes] - # Mapping of include patterns to external blocks - # hello*.h: user3/depblock # includes will be processed as user3/depblock/hello*.h - curl/*.h: lasote/curl/include - -[data] - # Manually define data files dependencies, that will be copied to bin for execution - # By default they are copied to bin/user/block/... which should be taken into account - # when loading from disk such data - # image.cpp + image.jpg # code should write open("user/block/image.jpg") -