111 Commits

Author SHA1 Message Date
Radovan Bast
8edce7af96 use format() instead of % 2016-04-10 17:20:01 +02:00
Radovan Bast
5615da7c78 do not hardcode file name 2016-03-19 17:46:50 +01:00
Radovan Bast
5be6e66038 preparing for yaml 2016-03-19 17:43:42 +01:00
Radovan Bast
4c360122c8 add --prefix 2015-12-12 14:05:10 +01:00
Radovan Bast
54be03a22d modify import 2015-10-17 11:15:20 +02:00
Radovan Bast
0224af82ae use defaultdict for parsed config settings 2015-10-17 11:13:16 +02:00
Radovan Bast
10a2a2d7ea stop with error if project name contains a space 2015-10-17 10:50:31 +02:00
Radovan Bast
702955af3b add possibility to print deprecation warnings; fixes #148 2015-10-15 18:22:06 +02:00
Radovan Bast
016f0488b1 prepend paths and better naming 2015-10-12 23:21:31 +02:00
Radovan Bast
c700194ef3 more explicit function name 2015-10-12 17:25:31 +02:00
Radovan Bast
1790e0723c allow custom validation of args 2015-10-12 16:57:27 +02:00
Radovan Bast
fd8ec93851 the default setup script name becomes "setup"
it can be changed in autocmake.cfg
2015-10-12 15:30:51 +02:00
Radovan Bast
09903e4034 s/defaults/override/ 2015-10-05 15:43:19 +02:00
Radovan Bast
a823e300f6 allow config file interpolation 2015-10-04 23:08:31 +02:00
Radovan Bast
5890d462fe change fetch destination 2015-10-01 17:38:25 +02:00
Radovan Bast
6472197cfe do not repeat module paths 2015-09-22 10:03:56 +02:00
Radovan Bast
84b330e419 remove "config: custom" option; fixes #135 2015-09-18 11:25:50 +02:00
Radovan Bast
ea89ce9f0d always add downloaded to module include paths 2015-09-17 01:21:16 +02:00
Radovan Bast
9646992050 lazy copyright range 2015-09-15 23:04:30 +02:00
Radovan Bast
da64739af3 place docopt under lib/docopt 2015-09-08 17:20:48 +02:00
Radovan Bast
707072615a fetch docopt.py from autocmake repo 2015-09-08 17:14:27 +02:00
Radovan Bast
ea650eace1 s/minimum_cmake_version/min_cmake_version/ 2015-09-07 17:45:31 +02:00
Radovan Bast
ea694c0bdd module doc options prepend config instead of resetting it; fixes #114 2015-09-07 16:37:51 +02:00
Radovan Bast
bb526eae1b sort directories in CMAKE_MODULE_PATH; fixes #111 2015-09-07 15:59:02 +02:00
Radovan Bast
66ac83482f s/minimum_required_version/minimum_cmake_version/ 2015-09-06 14:37:38 +02:00
Radovan Bast
f80a0f6ef3 add help text; fixes #108 2015-09-06 14:16:45 +02:00
Radovan Bast
704de471eb make minimum CMake version configurable; fixes #109 2015-09-06 14:08:45 +02:00
Radovan Bast
ae11533157 hopefully more consistency 2015-09-03 09:33:45 +02:00
Radovan Bast
3bde575656 rm spurious 'None' in cmake command 2015-09-02 16:11:15 +02:00
Radovan Bast
48ad07e5d7 add url 2015-08-30 19:50:28 +02:00
Radovan Bast
831e24a35b add flag --cmake-executable; fixes #81 2015-08-27 17:41:20 +02:00
Radovan Bast
d0f08604d2 rm ")" 2015-08-10 17:42:03 +02:00
Radovan Bast
fc5b67769b update.py --self creates .gitignore; fixes #55 2015-08-10 17:35:46 +02:00
Radovan Bast
10e1099fb6 on linux make setup.py executable; fixes #43 2015-07-31 13:58:39 +02:00
Radovan Bast
c382c9044c cosmetic change for projects without any modules 2015-07-31 12:30:57 +02:00
Radovan Bast
1908bf3c7c simplify 2015-07-30 09:05:43 +02:00
Radovan Bast
cfe2823c09 add possibility to pass options to cmake via setup.py 2015-07-29 22:33:48 +02:00
Radovan Bast
8b8e95521f allow to autofetch dependencies 2015-07-28 19:38:46 +02:00
Radovan Bast
faada401f4 module files are parsed for configuration by default 2015-07-28 12:22:11 +02:00
Radovan Bast
c75a3bb439 rephrase 2015-07-18 13:04:57 +02:00
Radovan Bast
3847f97ee1 add autogen notice 2015-07-18 13:02:44 +02:00
Radovan Bast
5cc5f46c61 typo 2015-07-18 09:29:33 +02:00
Radovan Bast
66db064fa6 make it possible to configure from the module doc; fixes #35 2015-07-17 16:05:52 +02:00
Radovan Bast
f7238ca4d2 prepare for autosource, also test update.py 2015-07-17 14:52:07 +02:00
Radovan Bast
0292b001cc fix rel_cmake_module_path on windows 2015-07-17 11:23:52 +02:00
Radovan Bast
bafae8ab61 avoid code duplication with local cmake modules; fixes #32
the directory for downloaded modules is renamed from modules/ to downloaded/
2015-07-17 10:37:01 +02:00
Radovan Bast
01ddaa4be8 use same path separators for variables within cmake 2015-06-28 13:27:26 +02:00
Radovan Bast
9cc33fa014 add --generator flag (thanks to Miro) 2015-06-28 12:11:57 +02:00
Radovan Bast
30c9d38842 also pep8-test the test script; restore pep8 for update.py 2015-06-26 15:34:28 +02:00
Radovan Bast
da02f8eeb1 test pep8 2015-06-26 15:29:28 +02:00