GithubHelp home page GithubHelp logo

cmake-modules's Introduction

Name Description
AddSAMPPlugin Provides add_samp_plugin() function
AddSAMPPluginTest Provides add_samp_plugin_test() function
AddSAMPPluginTestPR Same as above but uses plugin-runner instead of samp-server-cli
AMXConfig Defines platform-specific macros expected by AMX headers
FindPawnCC Finds Pawn compiler executable
FindPluginRunner Finds plugin-runner executable
FindSAMPSDK Finds SA-MP plugin SDK
FindSAMPGDK Finds GDK library and headers
FindSAMPServer Finds SA-MP server executable
FindSAMPServerCLI Finds samp-server-cli

cmake-modules's People

Contributors

maddinat0r avatar zeex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cmake-modules's Issues

About 64bit plugins

Hi, recently we've been working to add 64bit support on open.mp. Plugins have to be recompiled, and I'm working on updating some popular plugins without fully porting them to the open.mp SDK since it would take too much time and open.mp has a perfectly serviceable SA-MP plugin loader.

However, when porting plugins to x64, this part of the CMake module gets in the way on compiling for 64bit:

if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set_property(TARGET ${name} APPEND_STRING PROPERTY COMPILE_FLAGS " -m32")
set_property(TARGET ${name} APPEND_STRING PROPERTY LINK_FLAGS " -m32")
endif()

Could there be a way to prevent this from being added to the build file? Generally speaking, most plugins already enforce -m32 on the whole project, so the addition of it on this file could be considered kind of superfluous. Removing that part entirely shouldn't be too much of an issue; it wouldn't break existing projects unless they actively update their submodules. Alternatively, you can add some kind of CMake variable to tell your module to not add -m32. Both would work in any case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.