73 Commits

Author SHA1 Message Date
Thraix d39536213b Add makegen.xml as dependency to all *.o compilations 2026-05-12 23:08:37 +02:00
Thraix 577ac677db Add generate-compile-flags as argument
- generate-compile-flags (or shorthand gcf), will generate a
  compile_flags.txt file based on the makegen.xml configuration.
- Fix IncludeDirExclDep not generating in the Makefile correctly
2026-05-12 21:53:50 +02:00
Thraix 736aae3d39 Add cppversion as makegen config parameter
- Add cppversion as makegen config parameter, making it possible to
  specify which cpp version to use
- General cleanup of unused code
2026-05-10 16:27:26 +02:00
Thraix 8ff0411952 Refactor ConfigFile.cpp to be simpler 2026-05-09 23:58:34 +02:00
Thraix 5d00ada431 Add support for specifying target for dependencies
- Use <dependency target="target"> to specify which target the dependency
should be compiled for.
- Fix binary not being removed when doing makegen clean
2026-05-08 19:09:00 +02:00
Thraix c0d6afbf1a Remove github reference in README.md 2026-05-06 21:10:26 +02:00
Thraix b112ab4501 Fix relative paths being put in the wrong intermediate directory 2026-01-20 23:24:27 +01:00
Thraix 1edcfb570b Fix project compilation failure
- Fix project compilation failure when the project contains two files
  with the same name, causing the intermediate file to be in the same
  directory with the same name
- Fix small print errors in makegen --help
2026-01-20 22:27:42 +01:00
Thraix 7c68a839fc Format code based on clang format 2025-11-26 22:06:55 +01:00
Thraix 6976d330fc Add --target=<target> flag
- Used to compile using a specific target, without the need of modifying
  the makegen.xml file
2025-08-05 20:45:36 +02:00
Thraix 658d6df8a5 Add includedirexcldep makgen.xml flag
- New flag is used to add include directories without making them part
  of the include dependency graph.
- Can be used to remove dependency graphs for include directories that
  aren't generally modified, like operating system library include
  directories
2025-06-04 22:20:09 +02:00
Thraix aa0b390379 Fix simple flag and excludesource
- Fix simple flag not generating the correct Makefile
- Fix excludesource not excluding the correct files
2025-06-04 22:09:33 +02:00
Thraix d3c334dc79 Fix absolute paths causing Makefile errors 2025-06-04 21:31:33 +02:00
Thraix f6caefb078 Add sourcefile as makegen.xml option
- sourcefile will add additional individual files. Useful for when the
  user needs to manually specify files from existing repositories. If
  those repositories contain multiple files for different platforms
- Rework IncludeDeps to support sourcefiles
2025-05-25 16:07:32 +02:00
Thraix 61f9c3ee0d Fix relative paths not being included as include dependency 2020-04-26 20:13:52 +02:00
Thraix febfda55cc Release v1.3.0 2020-03-07 22:06:57 +01:00
Thraix 302081d66b Fix full paths being prepended by ./ 2020-03-07 20:20:47 +01:00
Thraix c97c3221dd Add arguments and prearguments to executable file 2020-03-03 19:13:49 +01:00
Thraix d90076d59e Add new config arguments to makegen conf gen prompt 2020-03-02 22:31:52 +01:00
Thraix 80c64aa499 Add more default file extensions for source and header files 2020-03-02 22:10:54 +01:00
Thraix f68861367b Add exclude source and header compilation 2020-03-02 21:44:38 +01:00
Thraix 5f6f605e32 Add text to README. Change version to v1.3.0 2020-03-01 22:02:07 +01:00
Thraix a36f245f37 Remove default debugging flags from Makefile 2020-03-01 21:04:37 +01:00
Thraix f2afec473f Fix MakeGen crashing when entering invalid filepaths in dependency 2020-03-01 21:01:27 +01:00
Thraix 4b48413941 Add support for adding linking flags 2020-03-01 20:45:14 +01:00
Tim Håkansson bbf5b25f3e Merge pull request #2 from Thraix/xml
Change config file to use xml instead
2020-03-01 20:19:01 +01:00
Thraix c65288226c Merge changes from master 2020-03-01 20:17:08 +01:00
Thraix 95976c32c3 Fix dependency config generating in current folder 2019-10-25 14:45:44 +02:00
Thraix d9f7dc4d17 Rework how the config file is read
Still need to remove reduntant code and test it much more thoroughly.
2019-10-18 11:44:40 +02:00
Thraix 36e4468f5e Fix outputname bug 2019-10-13 20:33:29 +02:00
Thraix f3ab790912 Read and write config as xml 2019-10-13 19:59:43 +02:00
Thraix 7a62789382 Port XML from Greet-Engine 2019-10-11 22:00:20 +02:00
Thraix 37d204fa9a Simplify logging of help commands 2019-10-11 19:01:30 +02:00
Thraix 67de469181 Add default config generation 2019-10-10 23:29:33 +02:00
Tim Håkansson 647ce0e3d8 Merge pull request #1 from Thraix/cli
Add config cli
2019-10-10 22:02:45 +02:00
Thraix d350096b3b Minor fixes 2019-10-10 22:01:04 +02:00
Thraix 5c302b3363 Update README and minor changes logs 2019-10-10 21:54:53 +02:00
Thraix 17245655d4 Add all config cli commands 2019-10-10 21:36:30 +02:00
Thraix 709defc4f6 Start implementing conf command 2019-10-10 18:53:33 +02:00
Thraix c5172c9572 Remove unnecessary includes 2019-10-08 22:09:51 +02:00
Thraix fb7a369f83 Fix cyclic project dependencies causing stack overflow 2019-10-08 22:00:43 +02:00
Thraix e786de5118 Add README and minor change to --help 2019-10-06 22:52:46 +02:00
Thraix ec98ddbfd4 Add --simple flag which generates a simple Makefile 2019-10-05 16:51:43 +02:00
Thraix 6b2b83d25c Fix problem with directories having slash at the end 2019-10-05 14:32:02 +02:00
Thraix dab0006ebb Remove unnecessary prints 2019-10-05 01:23:01 +02:00
Thraix fb4a849730 Change so that project h files are not listed as include dependency 2019-10-05 01:16:05 +02:00
Thraix c6efd9b382 Remove YCM files 2019-10-04 17:07:18 +02:00
Thraix 8315fd0897 Add jobs as default behaviour, Add run to makefile 2019-10-04 16:48:22 +02:00
Thraix 5a103442f8 Fix h file generated by dependency to appear in current src directory 2019-07-11 19:15:13 +02:00
Thraix f3b798e85e Fix absolute path in Makefile 2019-06-23 12:50:08 +02:00