Skip to content

arrayffs/cmake_generate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmake generate


This app solves the annoying process of having to write a CMakeLists.txt file every time you want to make a medium-ish sized app and can't use GCC to easily compile, you can either download the compiled binary from the releases or you can look at the build guide in the readme. ! WRITTEN FOR LINUX ONLY AS OF RIGHT NOW !


dependencies

  • CMake
  • Make

i'm assuming you are smart enough to install those yourselves :3


usage

please note that the directory you are supplying has to already exist, this will not create the directory itself.

# this will generate the files inside the CWD
$ cmake_generate "."

# you can pass it a relative address, this will create the file in the cool/ directory
$ cmake_generate "cool/"

# if you don't want to do that or its messing up you can pass it a full path aswell of course
$ cmake_generate "/home/user/projects/cool/"

building

one liner

git clone https://github.com/arrayffs/cmake_generate && cd cmake_generate/scripts && ./compile

step by step

step 1: clone the directory

git clone https://github.com/arrayffs/cmake_generate

step 2: cd into the scripts directory

cd cmake_generate/scripts/

step 3: give the compiler script run permissions

chmod +x compiler

step 4: run the compiler script

./compiler

the executable will be placed into the build/ folder which is one directory higher than the scripts/ folder

About

A CMake Project generator written in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published