Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
0d8da3a6
Kaydet (Commit)
0d8da3a6
authored
Ock 23, 2004
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix some sloppy markup to use \guilabel
üst
f0f6d12c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
20 deletions
+21
-20
windows.tex
Doc/ext/windows.tex
+21
-20
No files found.
Doc/ext/windows.tex
Dosyayı görüntüle @
0d8da3a6
...
...
@@ -70,9 +70,9 @@ example_nt\textbackslash} directory.
\item
Select a configuration. This step is optional. Choose
\menuselection
{
Build
\sub
Select Active Configuration
}
and
select either
``example - Win32 Release'' or ``example - Win32
Debug.'' If you skip this step, V
\Cpp
{}
will use the Debug
configuration by default.
select either
\guilabel
{
example - Win32 Release
}
or
\guilabel
{
example - Win32 Debug
}
. If you skip this step,
V
\Cpp
{}
will use the Debug
configuration by default.
\item
Build the DLL. Choose
\menuselection
{
Build
\sub
Build
...
...
@@ -147,8 +147,8 @@ Hello, world
\item
\strong
{
Creating a brand new project
}
\\
Use the
\menuselection
{
File
\sub
New
\sub
Projects
}
dialog to
create a new Project Workspace. Select
``
Win32 Dynamic-Link
Library
,''
enter the name (
\samp
{
spam
}
), and make sure the
create a new Project Workspace. Select
\guilabel
{
Win32 Dynamic-Link
Library
}
,
enter the name (
\samp
{
spam
}
), and make sure the
Location is set to the
\file
{
spam
}
directory you have created
(which should be a direct subdirectory of the Python build tree, a
sibling of
\file
{
Include
}
and
\file
{
PC
}
). Select Win32 as the
...
...
@@ -160,7 +160,7 @@ Hello, world
is selected from the Settings for: dropdown list. Select the
C/
\Cpp
{}
tab. Choose the Preprocessor category in the popup menu
at the top. Type the following text in the entry box labeled
Addditional include directories
:
\guilabel
{
Additional include directories
}
:
\begin{verbatim}
..
\Include
,..
\PC
...
...
@@ -172,25 +172,26 @@ Hello, world
..
\PCbuild
\end{verbatim}
in the text box labelled
``Additional library path.''
in the text box labelled
\guilabel
{
Additional library path
}
.
Now you need to add some mode-specific settings:
Select ``Win32 Release'' in the ``Settings for'' dropdown list.
Click the Link tab, choose the Input Category, and append
\code
{
pythonXY.lib
}
to the list in the ``Object/library modules''
box.
Select ``Win32 Debug'' in the ``Settings for'' dropdown list, and
append
\code
{
pythonXY
_
d.lib
}
to the list in the ``Object/library
modules'' box. Then click the C/
\Cpp
{}
tab, select ``Code
Generation'' from the Category dropdown list, and select ``Debug
Multithreaded DLL'' from the ``Use run-time library'' dropdown
Select
\guilabel
{
Win32 Release
}
in the
\guilabel
{
Settings for
}
dropdown list. Choose the
\guilabel
{
Link
}
tab, choose the
\guilabel
{
Input Category
}
, and append
\code
{
pythonXY.lib
}
to the
list in the
\guilabel
{
Object/library modules
}
box.
Select
\guilabel
{
Win32 Debug
}
in the
\guilabel
{
Settings for
}
dropdown list, and append
\code
{
pythonXY
_
d.lib
}
to the list in the
\guilabel
{
Object/library modules
}
box. Then click the C/
\Cpp
{}
tab, select
\guilabel
{
Code Generation
}
from the
\guilabel
{
Category
}
dropdown list, and select
\guilabel
{
Debug
Multithreaded DLL
}
from the
\guilabel
{
Use run-time library
}
dropdown
list.
Select
``Win32 Release'' again from the ``Settings for'' dropdown
list. Select ``Multithreaded DLL'' from the ``Use run-tim
e
library:''
dropdown list.
Select
\guilabel
{
Win32 Release
}
again from the
\guilabel
{
Settings
for
}
dropdown list. Select
\guilabel
{
Multithreaded DLL
}
from th
e
\guilabel
{
Use run-time library:
}
dropdown list.
You should now create the file
\file
{
spam.def
}
as instructed in the
previous section. Then chose the
\menuselection
{
Insert
\sub
Files
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment