Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: two patches: cmake buildsystem, g27 LEDs  (Read 1291 times)

tdev

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 20
    • View Profile
two patches: cmake buildsystem, g27 LEDs
« on: April 04, 2010, 04:36:09 AM »

patch that adds the cmake buildsystem:
http://redmine.rigsofrods.org/issues/206

patch we use to control the LEDs on the Logitech G27 steering wheel (win32 only):
http://redmine.rigsofrods.org/issues/207

i hope those are getting integrated :)

also, we should do this:
Code: [Select]
svn propset svn:eol-style "native" *
this sets the End of line style to native. Means: windows line-endings if you check it out under windows(/r/n), linux line endings under linux. (/n)


also, this could be nice:
Code: [Select]
svn propset svn:keywords "Date Revision Author HeadURL Id" *.h

to use this in the headers:
Code: [Select]
#define SVN_REVISION "$Rev$"
#define SVN_ID "$Id$"
(if wished)
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2653
    • View Profile
    • http://www.wreckedgames.com
Re: two patches: cmake buildsystem, g27 LEDs
« Reply #1 on: April 04, 2010, 08:12:10 AM »

In regards to the LED patch, I don't see where the Win32LogitechLEDs is created? Seems like play would always return false.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2653
    • View Profile
    • http://www.wreckedgames.com
Re: two patches: cmake buildsystem, g27 LEDs
« Reply #2 on: April 04, 2010, 08:14:17 AM »

Seems like it is missing joystick file changes.
Logged

tdev

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 20
    • View Profile
Re: two patches: cmake buildsystem, g27 LEDs
« Reply #3 on: April 05, 2010, 01:42:26 AM »

updated the cmake buildsystem a lot: http://redmine.rigsofrods.org/issues/206#note-2
(whats still missing?)

looking into the G27 issue atm
Logged

tdev

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 20
    • View Profile
Re: two patches: cmake buildsystem, g27 LEDs
« Reply #4 on: April 05, 2010, 03:59:57 AM »

also, some more compilation warnings with -Wall: http://redmine.rigsofrods.org/issues/208
Logged

tdev

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 20
    • View Profile
Re: two patches: cmake buildsystem, g27 LEDs
« Reply #5 on: December 14, 2010, 01:25:02 AM »

so, what about cmake as buildsystem? i thought that ogre converted would have been enough reason to switch as well...


my latest cmake script i use for building: http://ois.pastebin.com/rdGj4UYt
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2653
    • View Profile
    • http://www.wreckedgames.com
Re: two patches: cmake buildsystem, g27 LEDs
« Reply #6 on: December 20, 2010, 04:39:38 PM »

If I get some time I still would like to take a look at this. Though, OIS is pretty small and the project files are not too hard to maintain (besides for Code::Blocks).
Logged