Menu

Zod Engine Hg Repo Merge Request #3: First Prototype of a modernized, cmake based build (open)

Merging...

Merged

Something went wrong. Please, merge manually

Checking if merge is possible...

Something went wrong. Please, merge manually

Danny Schneider wants to merge 19 commits from /u/digitalus/zod/ to default, 2024-06-05

working 1st prototype to utilize cmake to build zod + map-editor
also supplied some bash-scripts to automate the build-process further

Commit Date  
[8e867d] (cmake_based_build) by Danny Schneider Danny Schneider

minor improvements
* ignore auto generated docs
* prepare automated doxygen build
* starter script for game in game folder

2023-09-18 22:01:30 Tree
[0e741e] by Danny Schneider Danny Schneider

improvements for cmake build
* output cmake version
* detect msys
* prepare to support git also

2023-09-18 21:35:01 Tree
[632b3d] by Danny Schneider Danny Schneider

print time and date,
if output is written to file, one can see when the build was started

2023-09-18 21:32:50 Tree
[18619f] by Danny Schneider Danny Schneider

build script --> detect dirty repositories for hg and git
--> git needs further testing

2023-09-18 21:31:59 Tree
[d77e13] by Danny Schneider Danny Schneider

refactored directories - moved everything needed to run the game into a own folder

2023-09-17 21:17:16 Tree
[f1009e] by Danny Schneider Danny Schneider

Merge with default

2023-09-17 13:22:16 Tree
[ea60b8] by Danny Schneider Danny Schneider

modernized includes

2023-09-17 13:18:02 Tree
[850f90] by Danny Schneider Danny Schneider

more ignores --> cppcheck files

2023-09-17 13:13:50 Tree
[a53dcc] by Danny Schneider Danny Schneider

1st Prototype for a modernized CMake based build
* includes some automation scripts

2023-09-17 13:10:36 Tree
[2a8d02] by Danny Schneider Danny Schneider

add an existing hgignore from another project incl. some basic definitions

2022-09-30 21:03:17 Tree
[b31582] by Danny Schneider Danny Schneider

remove trailing whitespace

2022-09-30 21:02:19 Tree
[761e30] by Danny Schneider Danny Schneider

simple script to startup compiled game

2022-09-30 18:27:01 Tree
[560224] by Danny Schneider Danny Schneider

cppcheck: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc]

2022-09-29 21:36:00 Tree
[3065bb] by Danny Schneider Danny Schneider

cppcheck: Common realloc mistake: 'map_data' nulled but not freed upon failure [memleakOnRealloc]

2022-09-29 21:27:44 Tree
[8d6e52] by Danny Schneider Danny Schneider

cppcheck: Resource leak: fp [resourceLeak]

2022-09-29 21:07:17 Tree
[9e52b1] by Danny Schneider Danny Schneider

cppcheck: Common realloc mistake: 'map_data' nulled but not freed upon failure [memleakOnRealloc]

2022-09-29 20:57:53 Tree
[4da79b] by Danny Schneider Danny Schneider

cppcheck ressource leak:
opened file is not closed
, also the return value evaluation is not correct (it assumes implicit casts...)

2022-09-29 20:28:42 Tree
[5f1e92] by Danny Schneider Danny Schneider

fixing build warning about assigning a const C-String to char*

2022-09-29 19:40:27 Tree
[203406] by Danny Schneider Danny Schneider

Update includes

2022-09-29 19:35:39 Tree

Discussion

  • Vitaly Zdanevich

    Looks like no activity here, would you like to fork it for GitLab?

     
  • Danny Schneider

    Danny Schneider - 2024-06-03

    Hi, I plan to continue my cmake based version. But its low prio due other code projects. (currently it builds fine, but the Code is far from modern C++, so its a lot of work to automate memory management and make it sound and leak-free)

    Never the less feel free to use my code written so far. But I personally prefer hg over git (a lot!). So as of today I would be more than happy to see an active commander zod - on gitlab if you want. If Code structure suits me, I will provide what I have, when I have it.

    I also refactored the repository structure plus added some build automation with bash scripting. I am open to improvements, But I use a similar concept at work and it works for me. See my newest Commits. And I need to state, as I can not rebuild the windows dlls as of today, I currently do Linux builds only. Maybe that can be ported to msys2, so one can get rid of VS on Windows and do the same cmake based build also on windows.

     
  • Vitaly Zdanevich

    And I need to state, as I can not rebuild the windows dlls as of today, I currently do Linux builds only

    Thanks, I am on Linux too...

     
  • Vitaly Zdanevich

    I downloaded current Linux release but I cannot run it:

    $ ./zod
    bash: ./zod: No such file or directory

    But it exists...

     
  • Danny Schneider

    Danny Schneider - 2024-06-03

    You set the file rights to be executable?

     
    • Vitaly Zdanevich

      No, because it already -rwxr-xr-x

       
    • Vitaly Zdanevich

      $ ldd zod
      not a dynamic executable

       
  • Vitaly Zdanevich

    I currently do Linux builds only

    Where can I find your build? Maybe it will work for me..

     

Log in to post a comment.