Add main source file and placeholder hooks.

Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
aixxe
2016-12-20 20:20:39 +00:00
parent 27eb1e65e2
commit 2f9b1f444d
12 changed files with 304 additions and 0 deletions

11
CMakeLists.txt Normal file
View File

@@ -0,0 +1,11 @@
cmake_minimum_required(VERSION 2.8)
project(cstrike-basehook)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -std=c++14 -I./include -m32 -Wall -Wextra -Wpedantic")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -static-libstdc++ -m32 -lSDL2")
file(GLOB_RECURSE SOURCE_FILES src/*.cpp include/*.cpp)
add_library(cstrike-basehook SHARED ${SOURCE_FILES})
target_link_libraries(cstrike-basehook)