sconscript

来自「这是一个基于VS2003开发的数据加密和解密的程序」· 代码 · 共 24 行

TXT
24
字号
Import('*')
env2 = env.Copy()

# Program Debug Library
env2['PDB'] = 'LucidEncryption' + build_name_suffix + '.pdb'
env2.Append(CPPFLAGS = ' /Fd' + Dir('.').path + '/vc70.pdb')

# Dependent libraries
env2.Append(LIBS = [
	'LucidSystem' + build_name_suffix,
	'LucidSystemThread' + build_name_suffix, 
	'libeay32' + build_name_suffix, 
	'ssleay32' + build_name_suffix])

# Build library
env2.Append(CCFLAGS = ' /D LUCID_ENCRYPTION_EXPORTS')
sources = SGlob('*.cpp')
lib = env2.SharedLibrary('LucidEncryption' + build_name_suffix, sources)

# Install include files
inc = SGlob('*.h')
env.Alias('install', env.Install(install_inc_path + 'Lucid/Encryption', inc))

Return('lib')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?