enable poxix MultiThreading sample under Linux

This commit is contained in:
erwincoumans
2013-07-18 21:18:09 -07:00
parent 12a4480d08
commit 2f0fd80c9c
8 changed files with 193 additions and 440 deletions

View File

@@ -17,19 +17,35 @@
files {
"**.cpp",
"**.h"
"b3ThreadSupportInterface.cpp",
"main.cpp",
"b3ThreadSupportInterface.h"
}
if os.is("Windows") then
files {
"b3Win32ThreadSupport.cpp",
"b3Win32ThreadSupport.h"
}
--links {"winmm"}
--defines {"__WINDOWS_MM__", "WIN32"}
end
if os.is("Linux") then
files {
"b3PosixThreadSupport.cpp",
"b3PosixThreadSupport.h"
}
links {"pthread"}
end
if os.is("MacOSX") then
files {
"b3PosixThreadSupport.cpp",
"b3PosixThreadSupport.h"
}
links {"pthread"}
--links{"CoreAudio.framework", "coreMIDI.framework", "Cocoa.framework"}
--defines {"__MACOSX_CORE__"}