| |

VerySource

 Forgot password?
 Register
Search
View: 820|Reply: 3

How to build the compiling and linking running environment of Source Insight?

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

Post time: 2020-2-16 06:30:01
| Show all posts |Read mode
It is now possible to compile with the cl command via Custom Command.

problem:
1, how to do batch processing? I want to build directly. (CL first, then Link) (SI command can not be selected in bat format)

2. The cmd line parameters in the VS project setting are used directly. Many parameters will report errors. How to write the following cmd line:
1), generate an output directory, put the exe file generated by the file, the obj file, etc. into this folder;
2), link, and then delete the obj file etc.

3.How to add custom command to run this generated program?
Reply

Use magic Report

1

Threads

13

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-4-21 17:00:01
| Show all posts
Can source Insight be compiled?
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-4-22 06:15:01
| Show all posts
No, lz means source insight calls the compiler
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-4-27 16:15:01
| Show all posts
Question 1: You can start your batch file.bat

Question 2: I didn't fully understand it. If there is only one target file (the end is to compile an exe file), you can try to write a source insight script. As for the syntax of the script, it is relatively simple, just look at the help.

Question 3: It can be achieved through a script. Define the file name of the target file in the script (you can take the project name, which is more general), and then just run it.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list