I tried using CMake as a build tool but that does not seem work in Windows from an NFS share. So now I create a first project to build a .dll (which is needed in all the class project) with the CodeLite Make Generator:
 create project
category: Library; type: Dynamic Library; compiler: MinGW-W64-7.1.0; debugger: GNU gdb debugger; build system: CodeLite Make Generator
 import files
All existing header and source files in /include and /src, respectively
 build project
No errors, and the last line of the build log
Code: Select all
N:/programs/x86_64-7.1.0-release-posix-seh-rt_v5-rev2/ming64.bin/g++.exe -shared -fPIC -o ..\build-Debug\lib\z @../build-Debug/z/ObjectsList.txt -L.
However, the file in the lib directory is called z.exe ...
What I don't know for sure now is:
-- has the file been built correctly? could it be used after renaming?
-- if that is true, is there a way to control the extension of the output (to not to manually rename files all the time)?