- 25 Jan, 2018 1 commit
-
-
Etienne Samson committed
-
- 16 Aug, 2017 1 commit
-
-
Later on, we will move detection of required libraries, library directories as well as include directories into a separate CMakeLists.txt file inside of the source directory. Obviously, we want to avoid duplication here regarding these parameters. To prepare for the split, put the parameters into three variables LIBGIT2_LIBS, LIBGIT2_LIBDIRS and LIBGIT2_INCLUDES, tracking the required libraries, linking directory as well as include directories. These variables can later be exported into the parent scope from inside of the source build instructions, making them readily available for the other subdirectories.
Patrick Steinhardt committed
-
- 03 Mar, 2014 2 commits
-
-
Miha Ravšelj committed
-
Miha committed
-
- 30 Oct, 2013 1 commit
-
-
This reorganizes a few of the examples so that the main function comes first with the argument parsing extracted into a helper that can come at the end of the file (so the example focuses more on the use of libgit2 instead of command line support). This also creates a shared examples/common.[ch] so that useful helper funcs can be shared across examples instead of repeated.
Russell Belfer committed
-
- 03 Sep, 2013 1 commit
-
-
Also, this converts the examples/CMakeLists.txt from explicitly listing to just globbing for all the individual C files.
Russell Belfer committed
-