Giter Site home page Giter Site logo

onqtam / ucm Goto Github PK

View Code? Open in Web Editor NEW
209.0 209.0 32.0 194 KB

Useful cmake macros that help with: compiler/linker flags, collecting sources, PCHs, Unity builds and other stuff.

License: MIT License

CMake 98.64% C++ 0.77% C 0.59%
cmake compiler-flags linker-flags precompiled-headers unity-build

ucm's Introduction

Work

Talks


  • Programming languages: C/C++, Nim, Python, TypeScript
  • APIs, libraries & frameworks: Vue.js, Boost, Qt, Kafka, Protocol Buffers, LibClang, Seastar, LLVM
  • Other: blockchains, Ethereum, compiler development, algorithms, databases, distributed systems, multi-threaded programming, testing, automation, game development, graphics programming, network programming

ucm's People

Contributors

nightlark avatar nmoinvaz avatar onqtam avatar sergio-nsk avatar tschuchortdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ucm's Issues

As of 37303d8, ucm_add_linker_flags is broken

Example of something we have for Visual Studio 2015:
ucm_add_linker_flags(EXE /DEBUG:Fastlink CONFIG Release)

This worked fine before. It adds that option to the "Configuration Properties->Linker->Generate Debug Info" project property.
As of 37303d8, it doesn't do anything.

Usage of precompiled headers

I did not really get how to use the precompiled headers with ucm.

There is in the ucm_add_target() the PCH parameter. This probably should activate the usage of the generated pch.
But when I compile this target with -H as compile flag there is no precompiled header used. Only if I specified a header file with the PCH_FILE parameter.
Is this the expected behavior?

Though, this is not a big problem for me, because I want to specify the precompiled header myself.
I want to use the same pch for every target and it should only be compiled once. Is this possible with ucm?

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.