Skip to content

Instantly share code, notes, and snippets.

@Zeex
Last active October 7, 2015 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zeex/3245644 to your computer and use it in GitHub Desktop.
Save Zeex/3245644 to your computer and use it in GitHub Desktop.
project(gamemode)
cmake_minimum_required(VERSION 2.8)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
include(AmxConfig)
include(SampPlugin)
find_package(SampGdk3 REQUIRED)
include_directories(${SampGdk3_INCLUDE_DIRS})
link_libraries(${SampGdk3_LIBRARIES})
add_samp_plugin(gamemode
gamemode.cpp
gamemode.def
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment