mirror of
https://github.com/cimgui/cimgui.git
synced 2026-08-27 12:11:31 +00:00
Merge pull request #326 from JamesWrigley/header-test
cpp2ffi: don't let the generated-header test link
This commit is contained in:
@@ -3476,7 +3476,7 @@ function M.Parser()
|
||||
if COMPILER=="gcc" then
|
||||
local include_cmd = COMPILER=="cl" and [[ /I ]] or [[ -I ]]
|
||||
local extra_includes = include_cmd.." ../../cimgui "
|
||||
local CPRE = COMPILER..[[ -std=c99 -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS -DIMGUI_ENABLE_FREETYPE ]] ..extra_includes.. "./output/"..name..".h"
|
||||
local CPRE = COMPILER..[[ -fsyntax-only -x c -std=c99 -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS -DIMGUI_ENABLE_FREETYPE ]] ..extra_includes.. "./output/"..name..".h"
|
||||
print(CPRE)
|
||||
get_cdefs(CPRE,"name")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user