Adding Tramontana to meson build.
This commit is contained in:
parent
f60739a8e0
commit
a56d9197bc
|
@ -66,7 +66,7 @@ class PnR ( FlowTask ):
|
||||||
print( 'PnR.doTask() run in interactive CGT mode.' )
|
print( 'PnR.doTask() run in interactive CGT mode.' )
|
||||||
PnR.textMode = False
|
PnR.textMode = False
|
||||||
#from .. import Etesian, Anabatic, Katana, Bora, Tramontana, Tutorial, Viewer, Unicorn
|
#from .. import Etesian, Anabatic, Katana, Bora, Tramontana, Tutorial, Viewer, Unicorn
|
||||||
from .. import Etesian, Anabatic, Katana, Bora, Viewer, Unicorn
|
from .. import Etesian, Anabatic, Katana, Bora, Tramontana, Viewer, Unicorn
|
||||||
|
|
||||||
ShellEnv().export()
|
ShellEnv().export()
|
||||||
if self.script and not callable(self.script):
|
if self.script and not callable(self.script):
|
||||||
|
@ -86,7 +86,7 @@ class PnR ( FlowTask ):
|
||||||
unicorn.setApplicationName ( 'cgt')
|
unicorn.setApplicationName ( 'cgt')
|
||||||
unicorn.registerTool ( Etesian.GraphicEtesianEngine.grab() )
|
unicorn.registerTool ( Etesian.GraphicEtesianEngine.grab() )
|
||||||
unicorn.registerTool ( Katana.GraphicKatanaEngine.grab() )
|
unicorn.registerTool ( Katana.GraphicKatanaEngine.grab() )
|
||||||
#unicorn.registerTool ( Tramontana.GraphicTramontanaEngine.grab() )
|
unicorn.registerTool ( Tramontana.GraphicTramontanaEngine.grab() )
|
||||||
unicorn.registerTool ( Bora.GraphicBoraEngine.grab() )
|
unicorn.registerTool ( Bora.GraphicBoraEngine.grab() )
|
||||||
#unicorn.registerTool ( Tutorial.GraphicTutorialEngine.grab() )
|
#unicorn.registerTool ( Tutorial.GraphicTutorialEngine.grab() )
|
||||||
#unicorn.setAnonNetSelectable(False)
|
#unicorn.setAnonNetSelectable(False)
|
||||||
|
|
|
@ -80,6 +80,7 @@ subdir('flute')
|
||||||
subdir('etesian')
|
subdir('etesian')
|
||||||
subdir('anabatic')
|
subdir('anabatic')
|
||||||
subdir('katana')
|
subdir('katana')
|
||||||
|
subdir('tramontana')
|
||||||
subdir('equinox')
|
subdir('equinox')
|
||||||
subdir('solstice')
|
subdir('solstice')
|
||||||
subdir('oroshi')
|
subdir('oroshi')
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
subdir('src')
|
||||||
|
|
||||||
|
Tramontana = declare_dependency(
|
||||||
|
link_with: [tramontana],
|
||||||
|
include_directories: include_directories('src'),
|
||||||
|
dependencies: [Anabatic]
|
||||||
|
)
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#include "hurricane/isobar/PyNet.h"
|
#include "hurricane/isobar/PyNet.h"
|
||||||
#include "hurricane/isobar/PyCell.h"
|
#include "hurricane/isobar/PyCell.h"
|
||||||
#include "hurricane/isobar/PyCellViewer.h"
|
#include "hurricane/viewer/PyCellViewer.h"
|
||||||
#include "hurricane/viewer/ExceptionWidget.h"
|
#include "hurricane/viewer/ExceptionWidget.h"
|
||||||
#include "hurricane/Cell.h"
|
#include "hurricane/Cell.h"
|
||||||
#include "crlcore/Utilities.h"
|
#include "crlcore/Utilities.h"
|
||||||
|
|
|
@ -0,0 +1,48 @@
|
||||||
|
tramontana_mocs = qt.compile_moc(
|
||||||
|
headers: [
|
||||||
|
'tramontana/GraphicTramontanaEngine.h',
|
||||||
|
'tramontana/TabEquipotentials.h',
|
||||||
|
'tramontana/EquipotentialsModel.h',
|
||||||
|
'tramontana/EquipotentialsWidget.h',
|
||||||
|
],
|
||||||
|
dependencies: [Anabatic],
|
||||||
|
)
|
||||||
|
|
||||||
|
tramontana_py = files([
|
||||||
|
'PyTramontana.cpp',
|
||||||
|
'PyTramontanaEngine.cpp',
|
||||||
|
'PyGraphicTramontanaEngine.cpp',
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
tramontana = shared_library(
|
||||||
|
'tramontana',
|
||||||
|
|
||||||
|
'EquipotentialComponents.cpp',
|
||||||
|
'Equipotential.cpp',
|
||||||
|
'EquipotentialRelation.cpp',
|
||||||
|
'EquipotentialsModel.cpp',
|
||||||
|
'EquipotentialsWidget.cpp',
|
||||||
|
'GraphicTramontanaEngine.cpp',
|
||||||
|
'QueryTiles.cpp',
|
||||||
|
'SweepLine.cpp',
|
||||||
|
'TabEquipotentials.cpp',
|
||||||
|
'Tile.cpp',
|
||||||
|
'TramontanaEngine.cpp',
|
||||||
|
tramontana_mocs,
|
||||||
|
tramontana_py,
|
||||||
|
dependencies: [Anabatic],
|
||||||
|
install: true,
|
||||||
|
)
|
||||||
|
|
||||||
|
py.extension_module(
|
||||||
|
'Tramontana',
|
||||||
|
|
||||||
|
tramontana_py,
|
||||||
|
|
||||||
|
link_with: [tramontana],
|
||||||
|
dependencies: [py_mod_deps, Anabatic],
|
||||||
|
install: true,
|
||||||
|
subdir: 'coriolis'
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue