- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have dialogs that go into resource.h. I've added resource.h to the project. I've added the deftofd step as a cuistom build step. However, resource.fd doesn't get updated, except perhaps at the end of the compilations. Consequently, the project is always using an old version of resource.fd, even if it is generated in the custom build step. If I rebuild the project, resource.fd is deleted from the include directory, and compilations fail because it is no longer there.
I work aroiund this by placing the deftofd run in a batch fle which I run as needed, but if I rebuild the project, I have to let it get deleted, fail to be found in a subsequent compile, and then run the bat file again.
This works, but is awkward.
Also, the deftofd command description indicates file1 and file2 on the command line, but the custom build step wants file2 in the outputs box. Is it need both places? I also must indicate the fill path on the deftofd command in the custom build step or it doen't seem to go anywhere the compiler can find it.
What's the proper way to do this? There must be something I'm missing.
NVE
I work aroiund this by placing the deftofd run in a batch fle which I run as needed, but if I rebuild the project, I have to let it get deleted, fail to be found in a subsequent compile, and then run the bat file again.
This works, but is awkward.
Also, the deftofd command description indicates file1 and file2 on the command line, but the custom build step wants file2 in the outputs box. Is it need both places? I also must indicate the fill path on the deftofd command in the custom build step or it doen't seem to go anywhere the compiler can find it.
What's the proper way to do this? There must be something I'm missing.
NVE
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind; I discovered pre-build step...
NVE
NVE

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page