Skip to content

Nuos/crawler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crawler

  • Crawler is a quick prototiping platform for Windows and Visual Studio (C++11).
  • Crawler is just a premake script + many common libraries ready to use.
  • You just put sources and headers into any apps/ subfolder as you like.
  • Executing crawler.bat will
    • Scan your disk structure crawling for headers and sources. Automatically.
    • Create/delete projects as needed. Automatically.
    • Create new applications in the solution. Automatically.
    • Refresh all projects into solution. Automatically.
    • Refresh all include paths for every project in the solution. Automatically.
    • Refresh all sources for every project in the solution. Automatically.
    • Rewrite all licenses found into LICENSE file. Automatically.
    • Compile and link statically everything.
  • I have collected many samples from many repos to showcase the build tech. Feel free to browse the apps/ folder. You can compile them with the .sln file generated above.
  • And that is all (hopefully). The following libraries are already provided.

Dependencies included

Repository structure

  • 📂/, README, LICENSES and main script.
  • 📂apps/, where all your applications are (a folder per executable).
  • 📂libs/, where all the tech love/hate is. Sorted by context.
  • 📂patches/, where code patches are located (if needed).

Install

git clone https://github.com/r-lyeh/crawler && cd crawler && crawler

Updates

git pull && crawler

F.A.Q.

  • Why?
    • It is always a pain to set up, compile and test most of the projects I find on the internet. Specially on Windows. I just want to drop sources on a folder and give them a try. Without messing with dependencies, include paths, libs and makefiles.
  • How to add my new app/program to the solution?
    • Create a new subfolder in apps/.
    • Put your awesome game in there, and execute crawler.bat.
    • All your game source files will be scanned and added into solution.
    • All your game header paths will be scanned and added into solution.
    • Check that .prj/crawler.sln solution is already updated. Profit.
  • How to clean the project/disk tree?
    • Execute crawler clean.
  • How to compile from command-line?
    • Execute crawler make.
  • Why there are no git submodules for each library?
    • Ease of use. Newbies can just download the whole repository as a zip file. And everything should be there already. Additionally, it takes git a while (ages!) to initialize & download everything when there are many submodules already in the repository.
  • Can you add [xxx] library?
    • Probably, as long as the library is widely supported / useful for anyone.
  • Can you add [xxx] scripting language?
  • Does it compile on linux or osx?
    • Partial support already. Pull-requests anyone?
  • Does it compile on android or ios?
    • Nope. Pull-requests anyone?
  • What is the license for the repo?
    • Premake script is Public Domain.
  • What is the license for the libraries?
  • What is the license for the samples?
    • For every sample in apps/ folder, check each folder separately.
  • What about L/GPL?
    • There is no L/GPL software in the repository.
  • What is the build model (trade-off) for the solution configurations ?
    • Everything is linked statically, so you can redistribute your .exe more easily.
    • Also check the following directives/compilation flags table:

▼targets\defines▶ | #HAS_DEBUGINFO | #HAS_OPTIMIZATIONS | #MASTER --- | --- | --- | --- | --- DEBUG | (3):heavy_check_mark::heavy_check_mark::heavy_check_mark: | (0):heavy_multiplication_x: | (0):heavy_multiplication_x: DEBUGOPT | (2):heavy_check_mark::heavy_check_mark: | (1):heavy_check_mark: | (0):heavy_multiplication_x: RELEASE/NDEBUG | (1):heavy_check_mark: | (2):heavy_check_mark::heavy_check_mark: | (0):heavy_multiplication_x: SHIPPING | (0):heavy_multiplication_x: | (3):heavy_check_mark::heavy_check_mark::heavy_check_mark: | (1):heavy_check_mark:

Licenses (autogenerated; may be wrong)

About

Crawler, a quick prototiping platform for Windows (C++11)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 40.3%
  • C++ 36.6%
  • HTML 10.9%
  • Logos 2.7%
  • C# 1.5%
  • Fortran 1.5%
  • Other 6.5%