Fixed genie post build commands related to creating assets symlink not working on mac

dev
Shariq Shah 6 years ago
parent 051c6a97e7
commit 4e90bf71b1
  1. 6
      build/genie.lua
  2. 6
      todo.txt

@ -4,7 +4,7 @@ solution "Symmetry"
location(_ACTION) location(_ACTION)
configuration {"linux", "macosx"} configuration {"linux", "macosx"}
postbuildcommands {"ln -fs " .. os.getcwd() .. "/../assets debug/assets"} postbuildcommands {"ln -fs " .. os.getcwd() .. "/../assets " .. os.getcwd() .. "debug"}
postbuildcommands {"ln -fs " .. os.getcwd() .. "/../assets " .. os.getcwd() .. "release"} postbuildcommands {"ln -fs " .. os.getcwd() .. "/../assets " .. os.getcwd() .. "release"}
buildoptions {"-Wall", "-std=c99"} buildoptions {"-Wall", "-std=c99"}
@ -118,6 +118,10 @@ solution "Symmetry"
} }
links {"ode_doubled", "SDL2"} links {"ode_doubled", "SDL2"}
configuration {"not windows"}
postbuildcommands {"ln -fs " .. os.getcwd() .. "/../assets " .. os.getcwd() .. "/" .. _ACTION .. "/debug"}
postbuildcommands {"ln -fs " .. os.getcwd() .. "/../assets " .. os.getcwd() .. "/" .. _ACTION .. "/release"}
newaction { newaction {
trigger = "build_addon", trigger = "build_addon",
description = "Build blender addon into zip file that can be loaded into blender, needs zip installed and available on PATH(Only works on bash/nix-style shell for now)", description = "Build blender addon into zip file that can be loaded into blender, needs zip installed and available on PATH(Only works on bash/nix-style shell for now)",

@ -1,8 +1,5 @@
Todo: Todo:
- Fix bug with blinn shader reaching maximum uniform number on mac
- Fix Deployment target issue in xcode build on macos
- Implement/Fix copying libraries to executable folder after build completes on mac os - Implement/Fix copying libraries to executable folder after build completes on mac os
- Fix symlink issue in genie for macos which interferes with fopen operations
- Fix all sound related bugs before moving on and finish sound - Fix all sound related bugs before moving on and finish sound
serialization to file serialization to file
- Finish mesh and material properties serialization to and from file - Finish mesh and material properties serialization to and from file
@ -118,6 +115,8 @@ Bugs:
- Fix axis lines not aligning with grid lines - Fix axis lines not aligning with grid lines
- Fix arc angles resetting when rotating - Fix arc angles resetting when rotating
- Fix shader preprocessor failing when the file in //include directive is empty - Fix shader preprocessor failing when the file in //include directive is empty
- Fix bug with blinn shader reaching maximum uniform number on mac
- Fix Deployment target issue in xcode build on macos
Done: Done:
* Input * Input
@ -315,3 +314,4 @@ Done:
* Moved #version definition from shaders to c code for easier control * Moved #version definition from shaders to c code for easier control
* Moved MAX_LIGHTS shader definition from inside the shader to be dynamically defined and added to the shader code when it is compiled * Moved MAX_LIGHTS shader definition from inside the shader to be dynamically defined and added to the shader code when it is compiled
to reduce inconsistencies to reduce inconsistencies
* Fixed symlink issue in genie for macos which interferes with fopen operations

Loading…
Cancel
Save