This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Authored by a very lazy Graham Dianaty, 2019 | |
:: Move recursively thru all files in same directory and generate lib files for them using black magic. | |
:: Note: %%~nf removes the extension from a file. | |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat" | |
cls | |
for /R %%f in (*.dll) do ( | |
echo [symbolgen.bat] Dumping %%f... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Authored by Graham Dianaty for Bitlogix Technologies. Based on code from Rene Hollander. ==========// | |
function(setup_cmakejs) | |
find_program(CMAKEJS "cmake-js") | |
find_program(NPM "npm") | |
# first, check if we have NPM: | |
if(NPM) | |
message(VERBOSE "NPM found.") | |
else() | |
message(FATAL_ERROR "NPM not found. This project requires Node.js") | |
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Authored by Graham Dianaty for Bitlogix Technologies. ==========// | |
cmake_minimum_required(VERSION 3.13) | |
function(swig_generate_wrapper ARGS_SWIG ARGS_OUTDIR ARGS_INTERFACE) | |
find_program(SWIG "swig" "swig.exe") # this should probably be somewhere in PATH | |
set(SWIG_IN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/${ARGS_INTERFACE}") | |
set(SWIG_OUT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/${ARGS_OUTDIR}") | |
# if we're getting no custom input directory, set to current dir. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ================================================== | |
// ImGui - LunchHouse Software Modified 8/10/2020 | |
// Modified to be sRGB color space corrected for use | |
// in Valve's Source Engine. | |
// ================================================== | |
// dear imgui: Renderer for DirectX9 | |
// This needs to be used along with a Platform Binding (e.g. Win32) | |
// Implemented features: |