Commits

Keli Hu committed 1e37593

use static linking instead

Comments (0)

Files changed (1)

 solution "ibapi"
     configurations { "Debug", "Release" }
-    --location ( "build/" .. _ACTION )
-    --includedirs { "Shared", "PosixSocketClient" }    
     buildoptions { "-Wall"} 
     
     project "libibapi"
-        kind "SharedLib"
+        kind "StaticLib"
         language "C++"
         files { "*.h", "*.cpp" }
         excludes { "Main.cpp" }
         targetname "ibapi"
  
-        configuration "Debug"
+        configuration "Debug*"
             defines { "DEBUG", "IB_USE_STD_STRING" }
             flags { "Symbols" }
-            --objdir ( "build/" .. _ACTION .. "/obj/debug/")
-            --targetdir ( "build/" .. _ACTION .. "/bin/debug/")
-        configuration "Release"
+        configuration "Release*"
             defines { "NDEBUG", "IB_USE_STD_STRING" }
             flags { "Optimize" }    
-            --objdir ( "build/" .. _ACTION .. "/obj/release/")
-            --targetdir ( "build/" .. _ACTION .. "/bin/release/")
 
     project "ibapitest"
         kind "ConsoleApp"
             defines { "DEBUG", "IB_USE_STD_STRING" }
             flags { "Symbols" }
             links { "libibapi" }
-            -- objdir ( "build/" .. _ACTION .. "/obj/debug/")
-            -- targetdir ( "build/" .. _ACTION .. "/bin/debug/")
         configuration "Release"
             defines { "NDEBUG", "IB_USE_STD_STRING" }
             flags { "Optimize" }    
             links { "libibapi" }
-            -- objdir ( "build/" .. _ACTION .. "/obj/release/")
-            -- targetdir ( "build/" .. _ACTION .. "/bin/release/")
 
 if _ACTION == "clean" then
     os.rmdir("obj")
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.