5e807cffc8
The ninja generator of gyp behaves strangely on the 'libraries' field of link settings, for example, specifying path to an external library works well on both xcodebuild and msvc generators, but the ninja generator would link to the wrong path (it can neither translate relative path correctly, nor convert the command line parameter to the '-lxxx' form). The only way to make all generators work on all platforms is to use abusolute paths for external libraries.
9 lines
174 B
Python
9 lines
174 B
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
|
|
"""Prints the absolute path of the root of brightray's source tree.
|
|
"""
|
|
|
|
|
|
print os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|