Patch [#22339] File/installation paths changes

Update after discussions on IRC:
* operating system specific path retrieval is moved back to GHOST, nothing blender specific here though
* cleaned up path functions a bit to remove #ifdefs
* removed Cocoa from blenlib again

TODO:
* Matt, Damien, please check and correct the functions for Cocoa and Carbon, could only put back existing code but needs adjustment
* finish GHOST_getBinaryDir - this should replace the BLI_where_am_i eventually as well as BLI_getInstallationPath on Windows and get_install_dir for the blenderplayer runtime
* It would probably be nice to define GHOST_getTempDir as well and move those out
* more cleanups...

NOTE:
Things are likely broken for macs
This commit is contained in:
2010-07-04 21:14:59 +00:00
parent 83a2a4e5b8
commit 4135f1310c
17 changed files with 425 additions and 156 deletions

View File

@@ -33,10 +33,6 @@ SET(INC
${ZLIB_INC}
)
IF(APPLE)
SET(SRC ${SRC} intern/path_util_cocoa.mm)
ENDIF(APPLE)
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
SET(INC
${INC}