My wish is to get a dll from one file and with the other's code, call functions inside it (dynamic loading).
Anyway, I must change the way it's built. It runs
g++.exe -shared -std=c++14 C:\proj\cpp\test\test_project\test.cpp -Wall -fexceptions -o test.dll
g++.exe -o bin\Debug\test_project.exe obj\Debug\main.o obj\Debug\test.o
But I don't want to create an invalid test_project.exe. I want to get the rid of test.o. How do I do it?