メインコンテンツへスキップ

Release build via CMake vs raw Makefile

回答済み

コメント

1件のコメント

  • Simon Bowly
    Gurobi Staff Gurobi Staff

    The Makefile provided in the examples/build directory of the Gurobi installation is not intended as a template for building a production application. Rather, it is intended as a way to compile and run the examples across all the API languages that Gurobi supports. For a real application, yes, you might add optimization flags and/or remove debug symbols for some builds. Typically you would also separate the compiling and linking steps for larger applications.

    CMake has its own built-in standard configurations (e.g. Release, Debug), which is why they're covered in the post you referenced. But it's also common to need further customisation for your own builds.

    2

サインインしてコメントを残してください。