File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## CHANGELOG
22
3+ ### v0.1.3 (2020-06-14)
4+
5+ * Update build to accept dependency tag value.
6+
37### v0.1.2 (2020-05-31)
48
59* Stability Improvements
Original file line number Diff line number Diff line change @@ -16,19 +16,19 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
1616
1717include (ExternalProject )
1818macro (add_external_lib )
19- message ("Adding External Lib: ${ARGV0} " )
19+ message ("Adding External Lib: ${ARGV0} version: ${ARGV1} " )
2020 execute_process (
2121 COMMAND git clone git@github.com:sagiegurari/c_string_buffer.git
2222 )
2323 execute_process (
24- COMMAND git checkout tags/v0.1.2
24+ COMMAND git checkout tags/${ARGV1}
2525 WORKING_DIRECTORY c_string_buffer
2626 )
2727 string (TOUPPER ${ARGV0} X_EXTERNAL_LIB_NAME)
2828 file (GLOB "${X_EXTERNAL_LIB_NAME} _SOURCES" "target/c_${ARGV0} /src/*.c" )
2929 set ("${X_EXTERNAL_LIB_NAME} _INCLUDE" "target/c_${ARGV0} /include" )
3030endmacro (add_external_lib )
31- add_external_lib ("string_buffer" )
31+ add_external_lib ("string_buffer" "v0.1.2" )
3232
3333include_directories (include "${STRING_BUFFER_INCLUDE} " )
3434
You can’t perform that action at this time.
0 commit comments