# Microsoft Developer Studio Project File - Name="p4jni" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 CFG=p4jni - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "p4jni.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "p4jni.mak" CFG="p4jni - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "p4jni - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") !MESSAGE "p4jni - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") !MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "p4jni" # PROP Scc_LocalPath "." CPP=cl.exe MTL=midl.exe RSC=rc.exe !IF "$(CFG)" == "p4jni - Win32 Release" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 0 # PROP BASE Output_Dir "Release" # PROP BASE Intermediate_Dir "Release" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 0 # PROP Output_Dir "Release" # PROP Intermediate_Dir "Release" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c # ADD CPP /nologo /MT /W3 /GR /GX /O2 /I "..\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "OS_NT" /D "CASE_INSENSITIVE" /FD /c # SUBTRACT CPP /X /YX # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 # ADD BASE RSC /l 0x409 /d "NDEBUG" # ADD RSC /l 0x409 /d "NDEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386 # ADD LINK32 libclient.lib librpc.lib libsupp.lib libcmt.lib oldnames.lib kernel32.lib wsock32.lib advapi32.lib user32.lib /nologo /subsystem:windows /dll /pdb:none /debug /machine:I386 /nodefaultlib /libpath:"../lib" !ELSEIF "$(CFG)" == "p4jni - Win32 Debug" # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" # PROP BASE Intermediate_Dir "Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 # PROP Output_Dir "Debug" # PROP Intermediate_Dir "Debug" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c # ADD CPP /nologo /MT /W3 /Gm /GR /GX /ZI /Od /I "..\include" /I "..\..\..\CppUnit" /I "..\..\..\CppUnit\test\framework" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "OS_NT" /D "CASE_INSENSITIVE" /FAcs /FR /FD /c # SUBTRACT CPP /X /YX # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 # ADD BASE RSC /l 0x409 /d "_DEBUG" # ADD RSC /l 0x409 /d "_DEBUG" BSC32=bscmake.exe # ADD BASE BSC32 /nologo # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept # ADD LINK32 libclient.lib librpc.lib libsupp.lib libcmt.lib oldnames.lib kernel32.lib wsock32.lib advapi32.lib user32.lib /nologo /subsystem:windows /dll /pdb:none /debug /machine:I386 /nodefaultlib /libpath:"../lib" !ENDIF # Begin Target # Name "p4jni - Win32 Release" # Name "p4jni - Win32 Debug" # Begin Source File SOURCE=..\include\clientapi.h # End Source File # Begin Source File SOURCE=.\clientuser.cpp # End Source File # Begin Source File SOURCE=..\include\clientuser.h # End Source File # Begin Source File SOURCE=..\include\diff.h # End Source File # Begin Source File SOURCE=..\include\enviro.h # End Source File # Begin Source File SOURCE=..\include\error.h # End Source File # Begin Source File SOURCE=..\include\filesys.h # End Source File # Begin Source File SOURCE=.\jnic.h # End Source File # Begin Source File SOURCE=..\java\p4jni\com\perforce\client\JniClient.class !IF "$(CFG)" == "p4jni - Win32 Release" # PROP Intermediate_Dir "../include" # Begin Custom Build - Generating JNI Headers InputPath=..\java\p4jni\com\perforce\client\JniClient.class InputName=JniClient "..\include\$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" javah -classpath ..\java\p4jni -o ..\include\$(InputName).h com.perforce.client.$(InputName) # End Custom Build !ELSEIF "$(CFG)" == "p4jni - Win32 Debug" # PROP Intermediate_Dir "../include" # Begin Custom Build - Generating JNI Headers InputPath=..\java\p4jni\com\perforce\client\JniClient.class InputName=JniClient "..\include\$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" chdir echo javah -classpath ..\java\p4jni -o ..\include\$(InputName).h com.perforce.client.$(InputName) javah -classpath ..\java\p4jni -o ..\include\$(InputName).h com.perforce.client.$(InputName) # End Custom Build !ENDIF # End Source File # Begin Source File SOURCE=.\jniclient.cpp # SUBTRACT CPP /X # End Source File # Begin Source File SOURCE=..\include\p4api.txt # End Source File # Begin Source File SOURCE=..\include\p4tags.h # End Source File # Begin Source File SOURCE=..\include\signaler.h # End Source File # Begin Source File SOURCE=..\include\spec.h # End Source File # Begin Source File SOURCE=..\include\stdhdrs.h # End Source File # Begin Source File SOURCE=..\include\strbuf.h # End Source File # Begin Source File SOURCE=..\include\strdict.h # End Source File # Begin Source File SOURCE=..\include\strops.h # End Source File # End Target # End Project
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#9 | 2366 | Paul Krause | fix path to JniClient.class | ||
#8 | 2363 | Paul Krause | JNI again | ||
#7 | 886 | Paul Krause | create header files for class defs | ||
#6 | 818 | Paul Krause | clean up headers and libraries | ||
#5 | 804 | Paul Krause | add testrunner | ||
#4 | 801 | Paul Krause |
Upgrade to MSVC 6.0. Enable MS extensions because portable C++ is broken in 5.0 and 6.0 (see support article Q168934; BUG: Multiple Errors Compiling Std C++ Library Headers with /Za). Don't ignore default library (needed for STL). Don't link CPP Unit in Release mode. |
||
#3 | 788 | Paul Krause | unit testing framework from CppUnit 1.5 | ||
#2 | 769 | Paul Krause |
Don't refer to JDK path. It must be set correctly in build environment. Link with /MT, not /MTd, for Debug build. |
||
#1 | 762 | Paul Krause | project files |