Adding Tutorial to meson build.
This commit is contained in:
parent
a56d9197bc
commit
c9fe5713cf
|
@ -65,8 +65,7 @@ class PnR ( FlowTask ):
|
||||||
else:
|
else:
|
||||||
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, Tramontana, Viewer, Unicorn
|
|
||||||
|
|
||||||
ShellEnv().export()
|
ShellEnv().export()
|
||||||
if self.script and not callable(self.script):
|
if self.script and not callable(self.script):
|
||||||
|
@ -88,7 +87,7 @@ class PnR ( FlowTask ):
|
||||||
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)
|
||||||
unicorn.setLayerVisible ( "grid" , False );
|
unicorn.setLayerVisible ( "grid" , False );
|
||||||
unicorn.setLayerVisible ( "text.instance" , False );
|
unicorn.setLayerVisible ( "text.instance" , False );
|
||||||
|
|
|
@ -87,4 +87,5 @@ subdir('oroshi')
|
||||||
subdir('bora')
|
subdir('bora')
|
||||||
subdir('unicorn')
|
subdir('unicorn')
|
||||||
subdir('cumulus')
|
subdir('cumulus')
|
||||||
|
subdir('tutorial')
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
subdir('src')
|
||||||
|
subdir('python')
|
||||||
|
|
||||||
|
Tutorial = declare_dependency(
|
||||||
|
link_with: [tutorial],
|
||||||
|
include_directories: include_directories('src'),
|
||||||
|
dependencies: [CrlCore]
|
||||||
|
)
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
py.install_sources(
|
||||||
|
'runDemo.py',
|
||||||
|
subdir: 'coriolis/plugins',
|
||||||
|
)
|
||||||
|
|
|
@ -25,7 +25,7 @@ try:
|
||||||
from coriolis.helpers import trace, l, u, n
|
from coriolis.helpers import trace, l, u, n
|
||||||
from coriolis.helpers.io import showPythonTrace, ErrorMessage, WarningMessage
|
from coriolis.helpers.io import showPythonTrace, ErrorMessage, WarningMessage
|
||||||
from coriolis.helpers.overlay import UpdateSession
|
from coriolis.helpers.overlay import UpdateSession
|
||||||
import coriolis.cumulus.plugins as plugins
|
import coriolis.plugins as plugins
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
serror = str(e)
|
serror = str(e)
|
||||||
if serror.startswith('No module named'):
|
if serror.startswith('No module named'):
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
|
|
||||||
#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,36 @@
|
||||||
|
tutorial_mocs = qt.compile_moc(
|
||||||
|
headers: [
|
||||||
|
'tutorial/GraphicTutorialEngine.h',
|
||||||
|
],
|
||||||
|
dependencies: [Anabatic],
|
||||||
|
)
|
||||||
|
|
||||||
|
tutorial_py = files([
|
||||||
|
'PyTutorial.cpp',
|
||||||
|
'PyTutorialEngine.cpp',
|
||||||
|
'PyGraphicTutorialEngine.cpp',
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
tutorial = shared_library(
|
||||||
|
'tutorial',
|
||||||
|
|
||||||
|
'GraphicTutorialEngine.cpp',
|
||||||
|
'TutorialEngine.cpp',
|
||||||
|
tutorial_mocs,
|
||||||
|
tutorial_py,
|
||||||
|
dependencies: [CrlCore],
|
||||||
|
install: true,
|
||||||
|
)
|
||||||
|
|
||||||
|
py.extension_module(
|
||||||
|
'Tutorial',
|
||||||
|
|
||||||
|
tutorial_py,
|
||||||
|
|
||||||
|
link_with: [tutorial],
|
||||||
|
dependencies: [py_mod_deps, CrlCore],
|
||||||
|
install: true,
|
||||||
|
subdir: 'coriolis'
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue