📄 sconstruct
字号:
# This is an example of a simple SConstruct file for building# programs against DOLFIN. To build this demo, just type 'scons'.import os, commands# Get compiler from pkg-configcompiler = commands.getoutput('pkg-config --variable=compiler dolfin')# Create a SCons Environment based on the main os environmentenv = Environment(ENV=os.environ, CXX=compiler)# Get compiler flags from pkg-configenv.ParseConfig('pkg-config --cflags --libs dolfin')# Program nameenv.Program('test', 'main.cpp')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -