How can I tell CodeLite to link an object file to my project, which was created in a prebuild step?
I have a unicode rc file containing a stringtable with Russian strings. As windres cannot process unicode rc files, I created a res file using another tool. Then used windres to convert the rusmsgs.res file to an object file rusmsgs.rc.o.
Then I tried several ways (project tree, settings) to put it into my CodeLite project, but it was ignored.
I see, that CodeLite uses a response file <projectname>.txt, where the object files of my project incl. the other .rc.o files are listed, but not my rusmsgs.rc.o file.
I'll make a suggestion in the Developer forum for this topic.
Thanks,
Fred
Linking an object file
-
- CodeLite Enthusiast
- Posts: 43
- Joined: Mon Jul 02, 2012 12:53 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Linking an object file
"Project Settings -> Linker -> Options"
and add your object name there (make sure you place semi-colon after the object name)
something like:
Eran
and add your object name there (make sure you place semi-colon after the object name)
something like:
Code: Select all
myobj.o;<other options here>
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 43
- Joined: Mon Jul 02, 2012 12:53 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Linking an object file
Thank you for your quick reply, it is linked now!