[DEV] WORK on a port for BOOST (temporary remove support of X11
This commit is contained in:
parent
e3a2e19fe6
commit
185d3c290c
@ -60,14 +60,18 @@ class Target:
|
||||
'-D__TARGET_ADDR__'+self.selectBus + 'BITS',
|
||||
'-D_REENTRANT']
|
||||
|
||||
self.global_flags_xx=[]
|
||||
self.global_flags_mm=[]
|
||||
if self.name != "Windows":
|
||||
if self.config["compilator"] == "clang" \
|
||||
or self.xx_version > 4007000:
|
||||
self.global_flags_xx=['-std=c++11']
|
||||
self.global_flags_mm=['-std=c++11']
|
||||
#self.global_flags_xx=['-std=c++11']
|
||||
#self.global_flags_mm=['-std=c++11']
|
||||
pass
|
||||
else:
|
||||
self.global_flags_xx=['-std=c++0x']
|
||||
self.global_flags_mm=['-std=c++0x']
|
||||
#self.global_flags_xx=['-std=c++0x']
|
||||
#self.global_flags_mm=['-std=c++0x']
|
||||
pass
|
||||
else:
|
||||
self.global_flags_xx=['-static-libgcc', '-static-libstdc++', '-std=c++11']
|
||||
self.global_flags_mm=[]
|
||||
|
29
system/lutinSystem_Linux_boost.py
Normal file
29
system/lutinSystem_Linux_boost.py
Normal file
@ -0,0 +1,29 @@
|
||||
#!/usr/bin/python
|
||||
##
|
||||
## @author Edouard DUPIN
|
||||
##
|
||||
## @copyright 2012, Edouard DUPIN, all right reserved
|
||||
##
|
||||
## @license APACHE v2.0 (see license file)
|
||||
##
|
||||
|
||||
import lutinDebug as debug
|
||||
import lutinSystem
|
||||
import lutinTools as tools
|
||||
import os
|
||||
|
||||
class System(lutinSystem.System):
|
||||
def __init__(self):
|
||||
lutinSystem.System.__init__(self)
|
||||
# create some HELP:
|
||||
self.help="BOOST : Boost interface (need when we have not all c++ feature\n Can be install with the package:\n - libboost-all-dev"
|
||||
# check if the library exist:
|
||||
if not os.path.isfile("/usr/include/boost/chrono.hpp"):
|
||||
# we did not find the library reqiested (just return) (automaticly set at false)
|
||||
return;
|
||||
self.valid = True
|
||||
# todo : create a searcher of the presence of the library:
|
||||
self.add_export_flag_LD("-lboost")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user