From 8f1f12828db119a744694c379e2c864a0449fe43 Mon Sep 17 00:00:00 2001 From: Veselin Georgiev Date: Wed, 19 Aug 2009 21:43:56 +0000 Subject: [PATCH] Added project files for Visual Studio 2003 (VC 71), added an option to build libcpuid as a DLL. git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@59 3b4be424-7ac5-41d7-8526-f4ddcb85d872 --- cpuid_tool/cpuid_tool_vc71.vcproj | 190 +++++++++++++++++++++++++++ libcpuid/exports.def | 24 ++++ libcpuid/libcpuid_vc71.vcproj | 205 ++++++++++++++++++++++++++++++ libcpuid_vc71.sln | 35 +++++ 4 files changed, 454 insertions(+) create mode 100644 cpuid_tool/cpuid_tool_vc71.vcproj create mode 100644 libcpuid/exports.def create mode 100644 libcpuid/libcpuid_vc71.vcproj create mode 100644 libcpuid_vc71.sln diff --git a/cpuid_tool/cpuid_tool_vc71.vcproj b/cpuid_tool/cpuid_tool_vc71.vcproj new file mode 100644 index 0000000..4377c21 --- /dev/null +++ b/cpuid_tool/cpuid_tool_vc71.vcproj @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/libcpuid/exports.def b/libcpuid/exports.def new file mode 100644 index 0000000..5739cbd --- /dev/null +++ b/libcpuid/exports.def @@ -0,0 +1,24 @@ +LIBRARY LIBCPUID + +EXPORTS +cpuid_present @1 +cpu_exec_cpuid @2 +cpu_exec_cpuid_ext @3 +cpuid_get_raw_data @4 +cpuid_serialize_raw_data @5 +cpuid_deserialize_raw_data @6 +cpu_identify @7 +cpu_feature_str @8 +cpuid_error @9 +cpu_rdtsc @10 +cpu_tsc_mark @11 +cpu_tsc_unmark @12 +cpu_clock_by_mark @13 +cpu_clock_by_os @14 +cpu_clock_measure @15 +cpu_clock @16 +cpuid_lib_version @17 +cpuid_set_warn_function @18 +cpuid_set_verbosiness_level @19 +cpuid_get_cpu_list @20 +cpuid_free_cpu_list @21 diff --git a/libcpuid/libcpuid_vc71.vcproj b/libcpuid/libcpuid_vc71.vcproj new file mode 100644 index 0000000..55bf3a4 --- /dev/null +++ b/libcpuid/libcpuid_vc71.vcproj @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/libcpuid_vc71.sln b/libcpuid_vc71.sln new file mode 100644 index 0000000..c8115a5 --- /dev/null +++ b/libcpuid_vc71.sln @@ -0,0 +1,35 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcpuid", "libcpuid\libcpuid_vc71.vcproj", "{A517C21D-1467-41B4-966A-7C7FC5E99D62}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpuid_tool", "cpuid_tool\cpuid_tool_vc71.vcproj", "{DD903FEE-4A59-4307-8DE2-0F777DC21FFE}" + ProjectSection(ProjectDependencies) = postProject + {A517C21D-1467-41B4-966A-7C7FC5E99D62} = {A517C21D-1467-41B4-966A-7C7FC5E99D62} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + Release DLL = Release DLL + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {A517C21D-1467-41B4-966A-7C7FC5E99D62}.Debug.ActiveCfg = Debug|Win32 + {A517C21D-1467-41B4-966A-7C7FC5E99D62}.Debug.Build.0 = Debug|Win32 + {A517C21D-1467-41B4-966A-7C7FC5E99D62}.Release.ActiveCfg = Release|Win32 + {A517C21D-1467-41B4-966A-7C7FC5E99D62}.Release.Build.0 = Release|Win32 + {A517C21D-1467-41B4-966A-7C7FC5E99D62}.Release DLL.ActiveCfg = Release DLL|Win32 + {A517C21D-1467-41B4-966A-7C7FC5E99D62}.Release DLL.Build.0 = Release DLL|Win32 + {DD903FEE-4A59-4307-8DE2-0F777DC21FFE}.Debug.ActiveCfg = Debug|Win32 + {DD903FEE-4A59-4307-8DE2-0F777DC21FFE}.Debug.Build.0 = Debug|Win32 + {DD903FEE-4A59-4307-8DE2-0F777DC21FFE}.Release.ActiveCfg = Release|Win32 + {DD903FEE-4A59-4307-8DE2-0F777DC21FFE}.Release.Build.0 = Release|Win32 + {DD903FEE-4A59-4307-8DE2-0F777DC21FFE}.Release DLL.ActiveCfg = Release DLL|Win32 + {DD903FEE-4A59-4307-8DE2-0F777DC21FFE}.Release DLL.Build.0 = Release DLL|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal