How can I create a project in codeblocks with the existing source code?

Source: Internet
Author: User

How can I create a project in codeblocks when the source code already exists ??

1. Create a project

2. Add files.

Specifically: Put the source file in the project directory in step 1 and add it to the project.

How do I set command line parameters?

Project-> set program's arguments.

How to use a ready-made makefile ??

1) "file-> New-> Project", select "Empty Project", and create a project.
2) Right-click the project and select "add files" to add C/C ++ and head files to the project.
3) Select a project, right-click the project, select "properties", and set "makefile" in the "Project Settings" tab to the MAKEFILE file name, and select "this is a custom makefile ".
4) Right-click the project, select "build options", and delete all "$ target" on the "make" command "tab ".

How can I create a project in codeblocks with the existing source code?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.