add missing defines

This commit is contained in:
Edward R. Gonzalez 2025-02-04 17:04:33 -05:00
parent 372cda734e
commit c600a3e0dc
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
#define GEN_IMPLEMENTATION #define GEN_IMPLEMENTATION
#define GEN_DONT_ENFORCE_GEN_TIME_GUARD #define GEN_DONT_ENFORCE_GEN_TIME_GUARD
#define GEN_DEFINE_LIBRARY_CORE_CONSTANTS
#define GEN_ENFORCE_STRONG_CODE_TYPES
#define GEN_EXPOSE_BACKEND
#include "gen/gen_singleheader.h" #include "gen/gen_singleheader.h"

View File

@ -564,6 +564,7 @@ if ( $vendor -match "msvc" )
# Check if output is a static library # Check if output is a static library
if ( $binary -match '\.lib$' ) if ( $binary -match '\.lib$' )
{ {
write-host "Running archiver for $binary"
$lib_args = @() $lib_args = @()
$lib_args += $flag_nologo $lib_args += $flag_nologo
$lib_args += $flag_link_win_machine_64 $lib_args += $flag_link_win_machine_64