Feature #1130

Merge cocoa_adapter.mm code into driver_opengl*.cpp

Added by rti almost 8 years ago. Updated almost 8 years ago.

Status:Closed Start date:10/14/2010
Priority:Normal Due date:
Assignee:rti % Done:

100%

Category:OS: Mac
Target version:Version 0.8.0

Description

It should be possible to include the obj-c++ code for the cocoa opengl stuff in the driver_opengl*.cpp files since CMake can set compiler options per file:
SET_SOURCE_FILES_PROPERTIES(file.cpp PROPERTIES COMPILE_FLAGS "--some-option")

This way gcc could be provided with the following additional option when compiling the file containing obj-c++ code on Mac OS X.
-x objective-c++

This would combine the driver code in one class, allowing the cocoa code to use CDriver members like window size and so on.

History

#1 Updated by rti almost 8 years ago

  • Assignee set to rti

#2 Updated by rti almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r934.

#3 Updated by rti almost 8 years ago

  • Target version changed from Version 0.9.0 to Version 0.8.0

#4 Updated by rti almost 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF