As I've got some time today I thought I would begin to have a look at improving the build systems currently employed by Cerberus for GCC Windows (for now).
The idea is that all dynamic link libraries should be stored in a single lib folder with the usual directory structure (e.g. lib/Win32, lib/Win64). This is to try to cut out the number of duplicates that can happen in the targets directory. The transcc compiler then has two jobs:
These are: #GLFW_GCC_CC_OPTS and #GLFW_GCC_LD_OPTS, but he never update the Makefiles for Linux or included being able to pass library linking.
So I will fix and add:
#GLFW_GCC_CC_OPTS
#GLFW_GCC_LD_OPTS
#GLFW_GCC_LIB_OPTS
#GLFW_COPY_LIBS
The next task is to create a 'rebuildall' script in Power-shell which if I recall has been around since Vista. I've got this partially done, but cserver and the launcher need to be sorted out.
The idea is that all dynamic link libraries should be stored in a single lib folder with the usual directory structure (e.g. lib/Win32, lib/Win64). This is to try to cut out the number of duplicates that can happen in the targets directory. The transcc compiler then has two jobs:
- Scan the new lib/Win32/64 for linking. The use of .LIB files is not guaranteed to work between compilers, even between versions of Visual Studio, but dlls should.
- Reads a pre-processor directive for the libraries to copy over to the final build directory ready for deployment.
These are: #GLFW_GCC_CC_OPTS and #GLFW_GCC_LD_OPTS, but he never update the Makefiles for Linux or included being able to pass library linking.
So I will fix and add:
#GLFW_GCC_CC_OPTS
#GLFW_GCC_LD_OPTS
#GLFW_GCC_LIB_OPTS
#GLFW_COPY_LIBS
The next task is to create a 'rebuildall' script in Power-shell which if I recall has been around since Vista. I've got this partially done, but cserver and the launcher need to be sorted out.