2001-08-22 00:45:07 +02:00
|
|
|
// disable code inlining when building static libs
|
|
|
|
InlineCode = "no"
|
|
|
|
|
|
|
|
// include common options
|
|
|
|
include "MySQL-Opt.icc"
|
|
|
|
include "MySQL-Source.icc"
|
|
|
|
|
2001-10-31 02:22:31 +01:00
|
|
|
run before sources('..\sql\sql_yacc.yy') targets('..\sql\sql_yacc.c')
|
|
|
|
'bison -y -d -o ..\sql\sql_yacc.c ..\sql\sql_yacc.yy'
|
|
|
|
|
2001-08-22 00:45:07 +02:00
|
|
|
option ProjectOptions = MySQLOptions
|
|
|
|
, define( "MYSQL_SERVER", "")
|
|
|
|
{
|
|
|
|
|
|
|
|
option file(genobject, "..\\OBJ\\ZLIB\\")
|
|
|
|
{
|
|
|
|
target "..\\bin\\mysqld.exe"
|
|
|
|
{
|
|
|
|
// optimized precompiled headers
|
|
|
|
option macros('global', 'yes')
|
|
|
|
{
|
2001-10-31 02:22:31 +01:00
|
|
|
source type('cpp') server_global_pch
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
2001-10-31 02:22:31 +01:00
|
|
|
source type('cpp') server_pch
|
2001-08-22 00:45:07 +02:00
|
|
|
|
|
|
|
// target source files
|
|
|
|
source "rint.obj"
|
2001-08-30 00:22:02 +02:00
|
|
|
source zlib, ufc, regex, 'strings\bmove_upp.c'
|
2001-08-22 00:45:07 +02:00
|
|
|
if debug_build {
|
|
|
|
source type('cpp') dbug
|
|
|
|
}
|
|
|
|
source type('cpp') heap
|
|
|
|
source type('cpp') myisam
|
|
|
|
source type('cpp') myisammrg
|
|
|
|
source type('cpp') my_sys
|
|
|
|
source type('cpp') my_sys_sql
|
|
|
|
source type('cpp') strings
|
2001-10-31 02:22:31 +01:00
|
|
|
source type('cpp') sql,
|
|
|
|
"..\\myisam\\mi_check.c",
|
|
|
|
"..\\myisam\\sort.c"
|
|
|
|
source BldLevelInfo
|
2001-08-22 00:45:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|