46 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 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 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 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 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 d350096b3b Minor fixes 2019-10-10 22:01:04 +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 ec98ddbfd4 Add --simple flag which generates a simple Makefile 2019-10-05 16:51:43 +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 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
Thraix 313ec9b770 Fix so that project builds dependencies
Currently there is a problem where the h files in the makefile are in
absolute path. This makes it so that the Makefile cannot be shared
between different computers.
2019-06-16 11:48:08 +02:00
Thraix 3425daa792 Return error code if make fails 2019-03-01 12:03:53 +01:00
Thraix 4db69abc56 Fix MakeGen not creating binary directories 2019-01-30 17:16:31 +01:00
Thraix aecbe5c501 Add support for h file generation 2019-01-30 16:58:52 +01:00
Thraix 048e3d050d Fix makegen creating Makefile if no config exist 2019-01-29 22:41:52 +01:00
Thraix 4e2785bb26 Add libdirs as rpaths 2019-01-09 22:17:51 +01:00
Thraix 6a6b9aa9e4 Merge and run makegen on project 2018-11-18 00:37:40 +01:00
Thraix 21809e3724 Add shared settings to makegen 2018-11-18 00:32:31 +01:00
Thraix 73503f6f48 Add timer to print how long the generation took 2018-06-10 16:51:44 +02:00
Thraix f77d3e8a3d Add compile progress to Makefile 2018-06-10 16:30:46 +02:00
Thraix 9e87c15367 Update version number and Makefile 2018-06-10 15:06:18 +02:00
Thraix 5283801871 Add version number to Makefile, Cleanup code 2018-06-10 12:15:41 +02:00
Thraix 464c483445 Move Config gen stuff to ConfigFile.cpp, Add version flag 2018-06-10 12:02:51 +02:00
Thraix 0af9887ea7 Add license to Makefile 2018-06-10 00:07:07 +02:00
Thraix f35a89e10b Create system for generating Makefiles 2018-06-09 23:49:01 +02:00