QNX momentics linked source files not compiling

595 Views Asked by At

I am creating a QNX port for a Linux application. As a test, i copied all source code and header files into /src/ directrory and built the code. the binary was created, and I was able to execute on target VM. but now I have to create the momentics project inside the project folder, without altering or creating duplicate copies of existing source files. I found that I can use linked resources. So I followed steps provided here and could add the file to project.

adding linked resource

after adding

but when I compile the project, it is not taking the linked files.

copiling

As one can clearly see the process is directly going to linking stage.

but if I add a new cpp file without linking, only that particular file is getting compiled, not the linked file. only the new main.cpp is getting compiled only the new main.cpp is getting compiled.

Can anyone help me to get this project built, only using linked resources?

1

There are 1 best solutions below

0
On

I was able to use IDE for compiling my writing a Makefile and importing it to IDE.