PCSX2 Documentation/PCSX2 Build Scripts: Difference between revisions
Jump to navigation
Jump to search
PCSX2 Documentation/PCSX2 Build Scripts (view source)
Revision as of 16:30, 13 January 2015
, 13 January 2015→Running CMake to generate the makefile:
Line 57: | Line 57: | ||
It is advised to use a build method that places build files outside the PCSX2 sources directory, as it makes it easier to delete all CMake build files: | It is advised to use a build method that places build files outside the PCSX2 sources directory, as it makes it easier to delete all CMake build files: | ||
mkdir build | <source lang="bash"> | ||
cmake .. <other options> | $ mkdir build | ||
$ cd build | |||
$ cmake .. <other options> | |||
</source> | |||
====Do the compilation:==== | ====Do the compilation:==== | ||
<source lang="bash"> | |||
make | $ make | ||
</source> | |||
====Install files:==== | ====Install files:==== | ||
<source lang="bash"> | |||
make install | $ make install | ||
</source> | |||
====Reporting Cmake bugs==== | ====Reporting Cmake bugs==== | ||
Line 75: | Line 78: | ||
#Linux distribution, the current kernel version, and architecture (32-bit or 64-bit) | #Linux distribution, the current kernel version, and architecture (32-bit or 64-bit) | ||
#The CMake commands. For example: | #The CMake commands. For example: <code>cmake CMakeLists.txt</code> | ||
#''All'' of CMake's output. Something like this is good: | #''All'' of CMake's output. Something like this is good: | ||
<source lang="text"> | |||
-- The C compiler identification is GNU | -- The C compiler identification is GNU | ||
-- The CXX compiler identification is GNU | -- The CXX compiler identification is GNU | ||
Line 122: | Line 125: | ||
-- Generating done | -- Generating done | ||
-- Build files have been written to: /mnt/playstation/emulateur/package/pcsx2.snapshot-4810 | -- Build files have been written to: /mnt/playstation/emulateur/package/pcsx2.snapshot-4810 | ||
</source> | |||
==Ubuntu PPA== | ==Ubuntu PPA== |