mirror of https://github.com/mono/CppSharp.git
				
				
			
		c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
		
		
		
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							32 lines
						
					
					
						
							842 B
						
					
					
				
			
		
		
	
	
							32 lines
						
					
					
						
							842 B
						
					
					
				local qjs_dir = path.getabsolute("../../deps/quickjs") | 
						|
local runtime = "../../src/Generator/Generators/QuickJS/Runtime" | 
						|
 | 
						|
workspace "qjs" | 
						|
    configurations { "debug", "release" } | 
						|
    location "gen" | 
						|
    symbols "On" | 
						|
    optimize "Off" | 
						|
 | 
						|
    project "test" | 
						|
        kind "SharedLib" | 
						|
        language "C++" | 
						|
        files | 
						|
        { | 
						|
            "gen/**.cpp", | 
						|
            runtime .. "/*.cpp", | 
						|
            runtime .. "/*.c" | 
						|
        } | 
						|
        includedirs | 
						|
        { | 
						|
            qjs_dir, | 
						|
            runtime, | 
						|
            "..", | 
						|
            "../../include" | 
						|
        } | 
						|
        libdirs { qjs_lib_dir } | 
						|
        filter { "kind:StaticLib" } | 
						|
            links { "quickjs" } | 
						|
        filter { "kind:SharedLib" } | 
						|
            defines { "JS_SHARED_LIBRARY" } | 
						|
        filter { "kind:SharedLib", "system:macosx" } | 
						|
            linkoptions { "-undefined dynamic_lookup" }
 | 
						|
 |