aiaf Posted October 11, 2015 Share Posted October 11, 2015 Just started with Leadwerks.Heres a way to build a project with cmake on linux. Start from an existing project (lets call it Proj): Copy ~/.steam/steamapps/common/Leadwerks into Source/Libs. Now you have Proj/Source/Libs/Leadwerks (this directory contains all the header files and static libs needed). Can use this Libs dir to add any other external libs you need. Here is the CMakeLists.txt: CMakeLists.txt Copy to the root of the project. cmake . and make Will work on windows also with some modifications. ~/Documents/Leadwerks/Projects/test/Projects/Linux/Proj check the codeblocks project (Proj.cbp, Proj.depend) if you need to add more to the CMakeLists.txt. Hope this helps. Quote I made this with Leadwerks/UAK: Structura | Stacky Desktop Edition Website: Binary Station Link to comment Share on other sites More sharing options...
Recommended Posts
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.