zoukankan      html  css  js  c++  java
  • import c++ project to eclipse cdt with exiting makefile

    Step 2: You are now ready to build your project. To build your project, select Project > Build Project. You can also hit the hammer icon build icon on the toolbar to build the selected project. You may see an error e.g. "make: *** no rule to make target 'all'. This is because, in our case, we didn't tell it where the makefile is, or its name. Open the project properties (right mouse on project name in the Project Explorer view and select Properties at the bottom on the context menu). On the C/C++ Build Page, on its Builder Settings tab, uncheck "Use default build command" and change the make command to make -f hello.mak since our makefile is not named the default makefile. Click here to see an illustration (displayed in a separate window). Click OK to close the Project Properties window. Your project will probably rebuild. If not you can force a build via Project > Build Project or use the hammer icon build icon. After the project build completes, the results display in the Console view and new objects, such as binaries and includes, show in the Project Explorer view. Click here to see an illustration (displayed in a separate window).

    http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fgetting_started%2Fcdt_w_import.htm

  • 相关阅读:
    MHA自动切换流程
    手写源码之 简单实现on emit off
    手写源码 -- bind,call,aplly
    多维数组转化为一维数组
    electron+vue中使用nodeJs的fs模块以及上传文件
    制作海报
    vue中引入播放器(百度播放器和腾讯云播放器)
    webpack配置
    webpack
    css样式
  • 原文地址:https://www.cnblogs.com/jjj250/p/3558787.html
Copyright © 2011-2022 走看看