You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

171 lines
4.5 KiB

  1. // disable code inlining when building static libs
  2. InlineCode = "no"
  3. // include common options
  4. include "MySQL-Opt.icc"
  5. include "MySQL-Source.icc"
  6. option ProjectOptions = MySQLOptions
  7. , link(defaultlibsname, "mysql.lib")
  8. {
  9. option file(genobject, "..\\OBJ\\ZLIB\\")
  10. ,link(exportAll)
  11. {
  12. target "..\\bin\\mysqlu.dll"
  13. {
  14. // optimized precompiled headers
  15. option macros('global', 'yes')
  16. {
  17. source type('cpp') client_global_pch
  18. }
  19. // target source files
  20. source zlib, ufc, regex, 'strings\bmove_upp.c'
  21. if debug_build {
  22. source type('cpp') dbug
  23. }
  24. source type('cpp') heap
  25. source type('cpp') myisam
  26. source type('cpp') myisammrg
  27. source type('cpp') my_sys
  28. source type('cpp') my_sys_cli
  29. source type('cpp') my_sys_sql
  30. source type('cpp') strings
  31. source type('cpp') '..\libmysql\dll.c'
  32. source BldLevelInfo
  33. }
  34. }
  35. target "..\\bin\\myisamchk.exe"
  36. {
  37. // optimized precompiled headers
  38. option macros('global', 'yes')
  39. {
  40. source type('cpp') client_global_pch
  41. }
  42. // target source files
  43. source type('cpp') "..\\myisam\\myisamchk.c",
  44. "..\\myisam\\mi_check.c",
  45. "..\\myisam\\sort.c"
  46. source BldLevelInfo
  47. }
  48. target "..\\bin\\myisamlog.exe"
  49. {
  50. // optimized precompiled headers
  51. option macros('global', 'yes')
  52. {
  53. source type('cpp') client_global_pch
  54. }
  55. // target source files
  56. source type('cpp') "..\\myisam\\myisamlog.c"
  57. source BldLevelInfo
  58. }
  59. target "..\\bin\\myisampack.exe"
  60. {
  61. // optimized precompiled headers
  62. option macros('global', 'yes')
  63. {
  64. source type('cpp') client_global_pch
  65. }
  66. // target source files
  67. source type('cpp') "..\\myisam\\myisampack.c"
  68. source BldLevelInfo
  69. }
  70. target "..\\bin\\test\\comp_err.exe"
  71. {
  72. // target source files
  73. source type('cpp') "..\\extra\\comp_err.c"
  74. }
  75. target "..\\bin\\gen_lex_hash.exe"
  76. {
  77. // target source files
  78. source type('cpp') "..\\sql\\gen_lex_hash.cc"
  79. }
  80. target "..\\bin\\test\\mi_test1.exe"
  81. {
  82. // target source files
  83. source type('cpp') "..\\myisam\\mi_test1.c"
  84. }
  85. target "..\\bin\\test\\mi_test2.exe"
  86. {
  87. // target source files
  88. source type('cpp') "..\\myisam\\mi_test2.c"
  89. }
  90. target "..\\bin\\test\\ft_eval.exe"
  91. {
  92. // target source files
  93. source type('cpp') "..\\myisam\\ft_eval.c"
  94. }
  95. target "..\\bin\\test\\ft_test1.exe"
  96. {
  97. // target source files
  98. source type('cpp') "..\\myisam\\ft_test1.c"
  99. }
  100. /*
  101. target "..\\bin\\test\\testhash.exe"
  102. {
  103. // target source files
  104. source type('cpp') "..\\mysys\\testhash.c"
  105. }
  106. */
  107. target "..\\bin\\test\\test_charset.exe"
  108. {
  109. // target source files
  110. source type('cpp') "..\\mysys\\test_charset.c"
  111. }
  112. target "..\\bin\\test\\hp_test1.exe"
  113. {
  114. // target source files
  115. source type('cpp') "..\\heap\\hp_test1.c"
  116. }
  117. target "..\\bin\\test\\hp_test2.exe"
  118. {
  119. // target source files
  120. source type('cpp') "..\\heap\\hp_test2.c"
  121. }
  122. /*
  123. option define( "MAIN", "")
  124. {
  125. target "..\\bin\\test\\thr_lock.exe"
  126. {
  127. // target source files
  128. source type('cpp') "..\\mysys\\thr_lock.c"
  129. }
  130. }
  131. */
  132. target "..\\bin\\test\\insert_test.exe"
  133. {
  134. // optimized precompiled headers
  135. option macros('global', 'yes')
  136. {
  137. source type('cpp') client_global_pch
  138. }
  139. source type('cpp') "..\\client\\insert_test.c"
  140. }
  141. target "..\\bin\\test\\select_test.exe"
  142. {
  143. source type('cpp') "..\\client\\select_test.c"
  144. }
  145. target "..\\bin\\test\\thread_test.exe"
  146. {
  147. // optimized precompiled headers
  148. option macros('global', 'yes')
  149. {
  150. source type('cpp') client_global_pch
  151. }
  152. source type('cpp') "..\\client\\thread_test.c"
  153. }
  154. }
  155. run after sources('..\bin\gen_lex_hash.exe') targets('..\sql\lex_hash.h')
  156. 'cd ..\bin & ..\bin\gen_lex_hash.exe > ..\sql\lex_hash.h'