Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Supporting #Include (And Other C Preprocessor Directives)
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#5
RE: Supporting #Include (And Other C Preprocessor Directives)

The "wiping" of the .hps file was just a an issue with the primitive batch file I was using to perform the pre-processing with the MCPP tool. This tool isn't necessary if you already have a C/C++ compiler setup. E.g. In geany i can just use the following in Build->Set Build commands:
cpp -P "%f" "%e.hps"
To pre-process my HPS files and I just make sure I use a different extension for those I wish to pre-process - but you could easily get around this issue by appending something to the output file name so that the writing-to-the-currently-open-file issue doesn't occur.
(This post was last modified: 05-03-2012, 02:50 AM by Apjjm.)
05-03-2012, 02:49 AM
Find


Messages In This Thread
RE: Supporting #Include (And Other C Preprocessor Directives) - by Apjjm - 05-03-2012, 02:49 AM



Users browsing this thread: 1 Guest(s)