Toshihiro Shimizu 890ddd
#if defined _WIN32 // win32 or win64
Toshihiro Shimizu 890ddd
#include "igs_resource_thread_win.cpp"
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#include "igs_resource_thread_unix.cpp"
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
/*
Toshihiro Shimizu 890ddd
rem ------ WindowsXp sp3(32bits) vc2008sp1  :7,13 w! tes_w32_thread.bat
Toshihiro Shimizu 890ddd
set SRC=igs_resource_thread
Toshihiro Shimizu 890ddd
set TGT=tes_w32_thread
Toshihiro Shimizu 890ddd
set INC=../../l01log/src
Toshihiro Shimizu 890ddd
cl /W4 /MD /EHa /O2 /wd4819 /DDEBUG_THREAD_WIN /I%INC% %SRC%.cxx /Fe%TGT%
Toshihiro Shimizu 890ddd
mt -manifest %TGT%.exe.manifest -outputresource:%TGT%.exe;1
Toshihiro Shimizu 890ddd
del %SRC%.obj %TGT%.exe.manifest
Toshihiro Shimizu 890ddd
rem ------ Windows7 (64bits) vc2008sp1  :14,20 w! tes_w64_thread.bat
Toshihiro Shimizu 890ddd
set SRC=igs_resource_thread
Toshihiro Shimizu 890ddd
set TGT=tes_w64_thread
Toshihiro Shimizu 890ddd
set INC=../../l01log/src
Toshihiro Shimizu 890ddd
cl /W4 /MD /EHa /O2 /wd4819 /DDEBUG_THREAD_WIN /I%INC% %SRC%.cxx /Fe%TGT%
Toshihiro Shimizu 890ddd
mt -manifest %TGT%.exe.manifest -outputresource:%TGT%.exe;1
Toshihiro Shimizu 890ddd
del %SRC%.obj %TGT%.exe.manifest
Toshihiro Shimizu 890ddd
# ------ rhel4 (32bits)  :21,22 w! tes_u32_thread.csh
Toshihiro Shimizu 890ddd
g++ -Wall -O2 -g -DDEBUG_THREAD_UNIX -I../../l01log/src igs_resource_thread.cxx -lpthread -o tes_u32_thread
Toshihiro Shimizu 890ddd
*/