commit
89edbf8abf
@ -7,7 +7,7 @@ set(CMAKE_BUILD_TYPE_VALUES "Debug;Release" CACHE INTERNAL "List of supported bu
|
|||||||
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_BUILD_TYPE_VALUES})
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_BUILD_TYPE_VALUES})
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
project(cathook VERSION 0.0.1 DESCRIPTION "Free Source Engine Trainer")
|
project(cathook VERSION 0.0.1)
|
||||||
add_library(cathook SHARED "")
|
add_library(cathook SHARED "")
|
||||||
|
|
||||||
set(GameSpecific 1 CACHE BOOL "Build for specific target game (As opposed to universal, but slower, lib)")
|
set(GameSpecific 1 CACHE BOOL "Build for specific target game (As opposed to universal, but slower, lib)")
|
||||||
|
@ -37,7 +37,7 @@ and a lot of useful features, including
|
|||||||
|
|
||||||
You need CMake to build cathook, CMake should take care of dependencies
|
You need CMake to build cathook, CMake should take care of dependencies
|
||||||
|
|
||||||
Install [libglez](https://github.com/nullifiedcat/libglez) and [libxoverlay](https://github.com/nullifiedcat/libxoverlay)
|
Install [libglez](https://github.com/nullifiedcat/libglez), [libxoverlay](https://github.com/nullifiedcat/libxoverlay) and [simple-ipc](https://github.com/nullworks/simple-ipc)
|
||||||
|
|
||||||
* Clone the repo of library (`git clone <URL>`)
|
* Clone the repo of library (`git clone <URL>`)
|
||||||
* `mkdir build && cd build`
|
* `mkdir build && cd build`
|
||||||
|
@ -51,7 +51,7 @@ export LD_LIBRARY_PATH="$GAMEROOT"\
|
|||||||
ulimit -n 2048
|
ulimit -n 2048
|
||||||
|
|
||||||
export LD_PRELOAD
|
export LD_PRELOAD
|
||||||
LD_PRELOAD="$(pwd)/bin/libcathook.so"
|
LD_PRELOAD="$(pwd)/bin/libcathook.so:/usr/lib/i386-linux-gnu/libstdc++.so.6"
|
||||||
|
|
||||||
# Enable nVidia threaded optimizations
|
# Enable nVidia threaded optimizations
|
||||||
export __GL_THREADED_OPTIMIZATIONS=1
|
export __GL_THREADED_OPTIMIZATIONS=1
|
||||||
|
Reference in New Issue
Block a user