Jump to content

Using Docker to Compile


martyj
 Share

Recommended Posts

I have been using docker a ton at work, so I decided to try to use it to compile leadwerks C++ projects with.

I created this GIT repo
https://github.com/martyj/Leadwerks4.0Docker

If you move your C++ project into the project folder, and copy your leadwerks steam folder into Leadwerks you can compile a linux build of your game

You can now compile Linux builds of your game on Windows.

See "b" and "dr" bash files for how the container is built and ran in Linux, to tweek it for Windows. A simple volume mount change should do the trick.

Let me know if there is something else you would like to see?

Me personally, I plan on adding Windows compilation on Linux with this.

Enjoy!

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...