Hi, I'm having trouble changing the command line options. I'm trying to output the generated code to another directory with the -d option but it doesn't work. Also, -v doesn't give me any extra messages.
My command line looks like this: "cppcc ps20.cg -d D:\swShader\Shader". The cppcc executable and ps20.cg are located in D:\swShader\. Instead of getting the output in the Shader folder, they appear next to the cppcc executable like if -d option wasn't used.
Maybe I defined it wrongly? I'm using the Win32 version. Thanks for any help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm having trouble changing the command line options. I'm trying to output the generated code to another directory with the -d option but it doesn't work. Also, -v doesn't give me any extra messages.
My command line looks like this: "cppcc ps20.cg -d D:\swShader\Shader". The cppcc executable and ps20.cg are located in D:\swShader\. Instead of getting the output in the Shader folder, they appear next to the cppcc executable like if -d option wasn't used.
Maybe I defined it wrongly? I'm using the Win32 version. Thanks for any help.
Try:
cppcc -d D:\swShader\Shader ps20.cg
alec.
Sorry I forgot to reply to this, I already found a way to let my compiler change the active directory.
Thanks anyway!