Skip to content
Workshop CMake - For quick and easy CMake setup of project, based on simple folder and file naming conventions
C++ C Other
Find file
Failed to load latest commit information.
Modules fixing astyle for windows (again). May 12, 2014
Toolchains fixed toolchaincompilerversion regex May 13, 2014
Utils/astyle moving wkcmake outside of dist directory, to allow other projects to … Oct 23, 2013
.travis.yml fixing astyle for windows (again). May 12, 2014
Doxyfile.wk Add 'Android/CMake/' from commit 'a8aca8ed1be03b3405c09bfe7ab2869f31e… Apr 22, 2014
LICENSE.md add LICENSE.md and remove old txt files May 7, 2014
README.md add LICENSE.md and remove old txt files May 7, 2014
WkBuild.cmake cosmetics to help debug dependencies behavior. Aug 27, 2014
WkCMake.cmake Avoid displaying misleading message. Jul 12, 2014
WkCompilerSetup.cmake add macro to change CMAKE CXX Debug flag. Sep 12, 2014
WkDepends.cmake cosmetics to help debug dependencies behavior. Aug 27, 2014
WkDoc.cmake upgrading from master branch Apr 29, 2014
WkExternal.cmake Add 'Android/CMake/' from commit 'a8aca8ed1be03b3405c09bfe7ab2869f31e… Apr 22, 2014
WkInstall.cmake Add 'Android/CMake/' from commit 'a8aca8ed1be03b3405c09bfe7ab2869f31e… Apr 22, 2014
WkPack.cmake Add 'Android/CMake/' from commit 'a8aca8ed1be03b3405c09bfe7ab2869f31e… Apr 22, 2014
WkPlatform.c.config Add 'Android/CMake/' from commit 'a8aca8ed1be03b3405c09bfe7ab2869f31e… Apr 22, 2014
WkPlatform.cmake adding version variable to project and platform header. Jun 10, 2014
WkPlatform.h.config adding version variable to project and platform header. Jun 10, 2014
WkSubversion.cmake Add 'Android/CMake/' from commit 'a8aca8ed1be03b3405c09bfe7ab2869f31e… Apr 22, 2014
WkTest.cmake changed how to set flags and defines. WARNING : not backward compatib… May 9, 2014
WkUtils.cmake Add 'Android/CMake/' from commit 'a8aca8ed1be03b3405c09bfe7ab2869f31e… Apr 22, 2014
easy_build.sh Add 'Android/CMake/' from commit 'a8aca8ed1be03b3405c09bfe7ab2869f31e… Apr 22, 2014

README.md

WkCmake

WkCMake is aimed at simplifying CMake builds by making some assumptions :

  • The hierarchy of project you are using is usually similar between all of your projects, a source directory, a header directory, some data and some tests, maybe...
  • You are only working on one project at a time, that is one main target only. Other target are only simple tests ( or unit tests ) without other dependencies than the main target.
  • It s easier to rerun "cmake" once, using the cached values on the build, rather than modifying many configuration files everywhere.

Making these assumption enable us to build a generic build framework, simple to use and very useful for many kind of C/C++ projects.

WkCMake currently supports :

  • Only one main target per project hierarchy
  • Few simple executable tests ( in test/ subdirectory ) that don't require additional dependencies
  • Target can be executable, library shared or static (module not tested yet, need a Mac...)
  • Auto after-build dependency ( in another Wk build directory, automatically finding and importing all needed files, run time libraries, etc. )
  • Auto AStyle source reformatting
  • Doxygen generated documentation

WkCMake will eventually support :

  • Simple Memory Leak detector for C/C++
  • Simple Profiler use ??
  • Generate UML diagrams from precompiled code ?? ( Need to find a proper XMI / UML diagram generator from source... )
  • Support cppunit ??
  • etc.

Released under Modified BSD License. Please check the LICENSE.txt file.

Something went wrong with that request. Please try again.