<commit_before>This folder contains a minimal build of Csound for 64-bit Windows. If you're
trying to install Csound along with its documentation,
[CsoundQt](https://csoundqt.github.io), and other extras, download and run one
of the setup executables at https://github.com/csound/csound/releases. The names
of the setup executables begin with Setup_Csound6_x64_.

It's a good idea, but not essential, to move the bin, include, and lib folders
to roughly where Csound's setup executables install them. To do this, open an
administrator Command Prompt in this folder and enter

    set CsoundPath=%ProgramFiles%\Csound6_x64
    if not exist "%CsoundPath%\NUL" mkdir "%CsoundPath%"
    move bin "%CsoundPath%"
    move include "%CsoundPath%"
    move lib "%CsoundPath%"

To easily run the executables in the bin folder, you must add the bin folder to
your Windows path and create an OPCODE6DIR64 environment variable. To do this on
Windows 10:

1. Right-click the Start button, and then select Run from the menu that appears.

2. Type

       sysdm.cpl ,3

   (note the space between sysdm.cpl and ,3) in the Open field and press Enter.
The System Properties window appears with the Advanced tab selected.

3. Click Environment Variables at the bottom of the window.

4. In system variables, select Path, and then click Edit. Click New, enter the
path to the bin folder, and then click OK. If you moved the bin folder to where
Csound's setup executables install it, the path of the bin folder is probably
C:\Program Files\Csound6_x64\bin.

5. In system variables, click New to create an environment variable named
OPCODE6DIR64 with a value of the path to the csound\plugins64-6.0 folder within
the lib folder, and then click OK. If you moved the lib folder to where Csound's
setup executables install it, this path is probably
C:\Program Files\Csound6_x64\lib\csound\plugins64-6.0.

If you want to use the minimal build of Csound with Visual Studio, you must
create a csound64.lib file. To do this, open an administrator Command Prompt in
the bin folder and enter

    set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\bin
    echo LIBRARY csound64.dll > csound64.def && echo EXPORTS >> csound64.def
    for /F "skip=19 tokens=4" %G in ('dumpbin /exports csound64.dll') do @echo %G >> csound64.def
    if not exist ..\lib\NUL mkdir ..\lib
    lib /def:csound64.def /out:..\lib\csound64.lib /machine:x64
<commit_msg>Updating readme for minimal distributions for Windows.<commit_after>This folder contains a minimal build of Csound for 64-bit Windows. If you're
trying to install Csound along with its documentation, default frontend
[CsoundQt](https://csoundqt.github.io), and other extras, download and run one
of the setup executables at https://github.com/csound/csound/releases. The names
of the setup executables begin with Setup_Csound6_x64_.

It's a good idea, but not essential, to move the bin, include, and lib folders
to roughly where Csound's setup executables install them. To do this, open an
administrator Command Prompt in this folder and enter

    set CsoundPath=%ProgramFiles%\Csound6_x64
    if not exist "%CsoundPath%\NUL" mkdir "%CsoundPath%"
    move bin "%CsoundPath%"
    move include "%CsoundPath%"
    move lib "%CsoundPath%"

To easily run the executables in the bin folder, you must add the bin folder to
your Windows path and create an OPCODE6DIR64 environment variable. To do this on
Windows 10:

1. Right-click the Start button, and then select Run from the menu that appears.

2. Type

       sysdm.cpl ,3

   (note the space between sysdm.cpl and ,3) in the Open field and press Enter.
The System Properties window appears with the Advanced tab selected.

3. Click Environment Variables at the bottom of the window.

4. In system variables, select Path, and then click Edit. Click New, enter the
path to the bin folder, and then click OK. If you moved the bin folder to where
Csound's setup executables install it, the path of the bin folder is probably
C:\Program Files\Csound6_x64\bin.

5. In system variables, click New to create an environment variable named
OPCODE6DIR64 with a value of the path to the csound\plugins64-6.0 folder within
the lib folder, and then click OK. If you moved the lib folder to where Csound's
setup executables install it, this path is probably
C:\Program Files\Csound6_x64\lib\csound\plugins64-6.0.

This package contains an import library for users of Visual Studio. However, if
for some reason you wish to create your own you may do so using the following steps. 

Open an administrator Command Prompt in the bin folder and enter:

    set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\bin
    echo LIBRARY csound64.dll > csound64.def && echo EXPORTS >> csound64.def
    for /F "skip=19 tokens=4" %G in ('dumpbin /exports csound64.dll') do @echo %G >> csound64.def
    if not exist ..\lib\NUL mkdir ..\lib
    lib /def:csound64.def /out:..\lib\csound64.lib /machine:x64

{'fraction_non_alphanumeric': 0.06861167002012072, 'fraction_numerical': 0.024949698189134808, 'mean_word_length': 4.001006036217304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7301942', 'n_tokens_mistral': 1515, 'n_tokens_neox': 1416, 'n_words': 704}