xmake.lua 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. target("tcxlsx_private")
  2. add_rules("qt.static")
  3. add_defines("XLSX_NO_LIB")
  4. -- 头文件
  5. add_files("xlsxdocpropscore_p.h")
  6. add_files("xlsxdocpropsapp_p.h")
  7. add_files("xlsxrelationships_p.h")
  8. add_files("xlsxutility_p.h")
  9. add_files("xlsxsharedstrings_p.h")
  10. add_files("xlsxcontenttypes_p.h")
  11. add_files("xlsxtheme_p.h")
  12. add_files("xlsxformat.h")
  13. add_files("xlsxworkbook.h")
  14. add_files("xlsxstyles_p.h")
  15. add_files("xlsxabstractsheet.h")
  16. add_files("xlsxabstractsheet_p.h")
  17. add_files("xlsxworksheet.h")
  18. add_files("xlsxworksheet_p.h")
  19. add_files("xlsxchartsheet.h")
  20. add_files("xlsxchartsheet_p.h")
  21. add_files("xlsxzipwriter_p.h")
  22. add_files("xlsxworkbook_p.h")
  23. add_files("xlsxformat_p.h")
  24. add_files("xlsxglobal.h")
  25. add_files("xlsxdrawing_p.h")
  26. add_files("xlsxzipreader_p.h")
  27. add_files("xlsxdocument.h")
  28. add_files("xlsxdocument_p.h")
  29. add_files("xlsxcell.h")
  30. add_files("xlsxcell_p.h")
  31. add_files("xlsxdatavalidation.h")
  32. add_files("xlsxdatavalidation_p.h")
  33. add_files("xlsxcellreference.h")
  34. add_files("xlsxcellrange.h")
  35. add_files("xlsxrichstring_p.h")
  36. add_files("xlsxrichstring.h")
  37. add_files("xlsxconditionalformatting.h")
  38. add_files("xlsxconditionalformatting_p.h")
  39. add_files("xlsxcolor_p.h")
  40. add_files("xlsxnumformatparser_p.h")
  41. add_files("xlsxdrawinganchor_p.h")
  42. add_files("xlsxmediafile_p.h")
  43. add_files("xlsxabstractooxmlfile.h")
  44. add_files("xlsxabstractooxmlfile_p.h")
  45. add_files("xlsxchart.h")
  46. add_files("xlsxchart_p.h")
  47. add_files("xlsxsimpleooxmlfile_p.h")
  48. add_files("xlsxcellformula.h")
  49. add_files("xlsxcellformula_p.h")
  50. -- 源文件
  51. add_files("xlsxdocpropscore.cpp")
  52. add_files("xlsxdocpropsapp.cpp")
  53. add_files("xlsxrelationships.cpp")
  54. add_files("xlsxutility.cpp")
  55. add_files("xlsxsharedstrings.cpp")
  56. add_files("xlsxcontenttypes.cpp")
  57. add_files("xlsxtheme.cpp")
  58. add_files("xlsxformat.cpp")
  59. add_files("xlsxstyles.cpp")
  60. add_files("xlsxworkbook.cpp")
  61. add_files("xlsxabstractsheet.cpp")
  62. add_files("xlsxworksheet.cpp")
  63. add_files("xlsxchartsheet.cpp")
  64. add_files("xlsxzipwriter.cpp")
  65. add_files("xlsxdrawing.cpp")
  66. add_files("xlsxzipreader.cpp")
  67. add_files("xlsxdocument.cpp")
  68. add_files("xlsxcell.cpp")
  69. add_files("xlsxdatavalidation.cpp")
  70. add_files("xlsxcellreference.cpp")
  71. add_files("xlsxcellrange.cpp")
  72. add_files("xlsxrichstring.cpp")
  73. add_files("xlsxconditionalformatting.cpp")
  74. add_files("xlsxcolor.cpp")
  75. add_files("xlsxnumformatparser.cpp")
  76. add_files("xlsxdrawinganchor.cpp")
  77. add_files("xlsxmediafile.cpp")
  78. add_files("xlsxabstractooxmlfile.cpp")
  79. add_files("xlsxchart.cpp")
  80. add_files("xlsxsimpleooxmlfile.cpp")
  81. add_files("xlsxcellformula.cpp")
  82. add_frameworks("QtGui", "QtGuiPrivate", "QtCore")
  83. target_end()