Git Product home page Git Product logo

r5ge's People

Contributors

arenmook avatar cozzy13 avatar eugene2k avatar michaell-admin avatar

Watchers

 avatar

r5ge's Issues

Using CMake to build project

The current Makefile has several shortcomings. For instance, it always builds 
everything every time, it doesn't stop on compilation errors, parallel building 
of sources doesn't work, and object files can clash if they're named the same 
thing in different directories.

There are a couple ways to fix this, but rather than fix up the Makefile I 
decided to write a sort of proof of concept CMakeLists.txt to build the 
project. The one attached probably isn't the best way to do it, but for the 
sake of keeping it short (for now) I used aux_source_directory to automatically 
find the source files. The more traditional method is to specifically list each 
source file that's to be included in the project. If you end up wanting to use 
this, that might be a better way to go. Actually, that's the way I included the 
SysWindow sources.

This CMakelists.txt should be put in the Source directory. Then from anywhere, 
a build directory is recommended, run cmake ${path_to_r5ge/Source}. Optionally 
you can pass -DCMAKE_BUILD_TYPE=Debug to enable debugging mode or run ccmake 
${path_to_r5ge/Source} or one of the other CMake GUI's to set CMAKE_BUILD_TYPE.

Original issue reported on code.google.com by losinggeneration on 6 May 2011 at 2:53

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.