Coder Social home page Coder Social logo

cmaketemplate's Introduction


Logo

Cmake Project

General set up of CLION and why things are done.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Product Name Screen Shot

Simple EXE

Setting up my dev. environment and for future reference on other projects. This is a quick set-up to show what setting needs to be changed and why.

Built With

  • 3433C
  • CMake

Getting Started

Download

Download JetBrain Official Clion

Activate

  • Look at the newest Ja-netfilter activator . Check telegram group
  • There is a jetbra .zip at the top of the page, click download.
  • I used ffff.ga from the telegram group
  • list
  • extract it to the bin directory of IDEA, and after extracting it, ja-netfilter.jar should be in the same directory as idea64.exe.
  • extract run

Modifications

  • The tool chain can be set up using different:
    • Generator : Used to create configuration files for a build system
      • Borland
      • MSYS
      • MinGW
      • NMake
      • Unix (gmake)
      • Watcom
      • Ninja
      • Visual Studio
    • Build system: Used to generally compile and link source code
      • Meson
      • Ninja
      • Make
    • Compiler:
      • MSVC (visual C)
      • GCC
      • LLVM
    • Debugger
      • GDB
      • LLDB

LLVM is newer developed by Apple and reports errors better

Prerequisites

None

Dependencies

None

Cross Compile

  • TODO

Configure Clion

  • ToolChain toolchain

  • Build folder can be changed: buildfolder

  • Debug could be added as an option:

    • the "-D" flag is used followed by the variable name
  • debug

Configure the settings cmakelist file

Add the following to the markdown file to get the output in the correct destinations.

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bin")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/lib")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bin")
  • config file needs to added and built before being use:
configure_file(headerconfig.h.in headerconfig.h)
  • headerconfig.h.in:
#define SimpleCmake_VERSION_MAJOR @SimpleCmake_VERSION_MAJOR@
#define SimpleCmake_VERSION_MINOR @SimpleCmake_VERSION_MINOR@
#cmakedefine BUGGER

Usage

Clicking build

overview

For more examples, please refer to the Documentation

CTest

CTest will test the viability of accessing reading and filtering the library. Currently I have one test to show that information is getting passed into the test executable and seeing what it returns.

Roadmap

  • Done

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Jason Birbal - [email protected]

Project Link: https://github.com/jbirbal-skydom/cmaketemplate/

Acknowledgments and References

cmaketemplate's People

Watchers

Jason Birbal avatar

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.