Whenever I compile C++ source files the objects are of the type AMD64 and will not link with my libraries that are all built for ARM64. I have tried to fix this by placing the flag "-arch=arm64" as a compiler option, but the IDE strips this off. If I do a compilation by typing in the CodLite generated g++ command using a terminal, the compilation is correct. Is there something I can set in the IDE to solve this problem?
Thanks.