compiling manually

Posted By: Kartoffel

compiling manually - 10/21/16 15:25

I'm currently using visual studio code as source code editor for various reasons. So far things are working pretty well.
However, I'm having trouble to build an acknex executable by using the engine's .exe with command line options.

I tried '-exe' which creates an executable but it does not generate the additional dll-libraries that are needed.

Does anyone know, how to do this?
Posted By: Dico

Re: compiling manually - 10/21/16 17:19

When you use visual studio compiler why you need to compile via acknex compiler ?
Posted By: Ch40zzC0d3r

Re: compiling manually - 10/21/16 17:44

What?
VS can only invoke MSVC compiler, if you want it to do anything else you have to write small code and put it into the compiler pre-compile tasks:
Project options -> Build events -> Commandline -> Add your code

Example:
Code:
cd $(ProjectDir)..\..\..\
start Make_IceOS.bat
exit /b 1

Posted By: Kartoffel

Re: compiling manually - 10/22/16 07:42

err I think there's a little misunderstanding here grin

I want to compile an acknex application, within Visual Studio Code. It's Microsoft's "new" sourcecode editor (not Visual Studio, the name is kinda misleading).

So far things work. I can also call the acknex compiler and generate an executable but it does not generate an acknex.dll file.

So let me rearrange that question:
Which arguments do I need to pass to the acknex compiler to make it generate an executable including the neccessary .dlls.
Posted By: MasterQ32

Re: compiling manually - 10/22/16 10:49

http://www.conitec.net/beta/wed-commandline.htm

WED -p "YourFile"
Posted By: Aku_Aku

Re: compiling manually - 10/22/16 12:38

As MasterQ32 wrote, you should issue this CLI command:
WED -p yourpath\your.exe

Optionally you can add one more argument that marks a working directory.

For this command you should create a post build command in your project setup.
Posted By: Kartoffel

Re: compiling manually - 10/22/16 13:20

Oh okay, so building isn't done using acknex.exe but wed. Thanks for the info!
© 2024 lite-C Forums