1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-25 00:53:43 +00:00
Commit graph

6 commits

Author SHA1 Message Date
King_DuckZ
08a6c0d73d Detect compiler to use.
For example if you run the script from dindexer/clang_debug
you will tell cmake to make a debug build using clang.
You can also use gcc_debug but there is no way to specify
a particular version.
2016-08-02 02:11:05 +02:00
King_DuckZ
a10982533e Add helper scripts for wrapping cmake invocation
export_compile_commands assumes you have your working copy in
$HOME/dev/code/dindexer and you are running it from your build
directory, which is in something like
$HOME/dev/build/dindexer/<config>

It will then invoke cmake with CMAKE_EXPORT_COMPILE_COMMANDS ON
for YouCompleteMe to work. The exported .json file is
automatically symlinked into your working copy. Any previous
symlink or file is deleted from your working copy first, so if
you run this script for Release and then for Debug, the appropriate
symlink to Debug will be in your working tree.

cmake_default simply wraps export_compile_commands passing
default cmake values I normally like to use.
2016-08-02 01:21:34 +02:00
King_DuckZ
2e5bb32439 Improve flat_git script.
It now has a clone subcommand that does the same thing as before,
and a status subcommand that tells the user what submodules
are flattened.
2016-07-27 23:46:11 +02:00
King_DuckZ
2467f2f12d Fix a bug with the script not detecting non-empty
directories properly. It was looking for a relative path,
but the base path would change across invocations of clone_submodules().
2016-07-15 16:55:06 +01:00
King_DuckZ
062b927d39 Add unlicense license to flat_git. 2016-07-15 15:47:21 +01:00
King_DuckZ
7804fbccbc Import flat_git tool 2016-07-15 15:23:38 +01:00