I am working on a C project. I am using cmake as build generator. I have set the below things in my cmakelists.txt just below project() command
set(CMAKE_C_OUTPUT_EXTENSION_REPLACE 1)
set(CMAKE_ASM_OUTPUT_EXTENSION_REPLACE 1)
set(CMAKE_C_OUTPUT_EXTENSION .o)
set(CMAKE_ASM_OUTPUT_EXTENSION .o)
I have files with .c extensions and assembly files with .s extensions. During compilation, i see that files are created with .obj extension(file.c --> file.obj) my expectation is with .o extension(file.c --> file.o). anything i have to set apart from the above commands ?