]> git.xonotic.org Git - xonotic/darkplaces.git/commit
cmake: Initial working implementation of cmake build system
authorCloudwalk <cloudwalk@icculus.org>
Tue, 14 Sep 2021 03:20:46 +0000 (23:20 -0400)
committerCloudwalk <cloudwalk@icculus.org>
Tue, 14 Sep 2021 03:20:46 +0000 (23:20 -0400)
commit697777799c5b607a6120481eb191cbdf142ced93
tree26329b2c07cc339d5ae672bb99951c833a0b9502
parent90ab66ba6bfed05c0ce331d321ff63eba7912637
cmake: Initial working implementation of cmake build system

This took way too long but I'm happy to be able to commit something
that at least builds the engine. It's a mess but I gotta start
somewhere. It is based on the build system of an old fork that I wrote
for "fun".

dpconfig.cmake is a special file you can drop into your project root
and it'll control the build configuration. I might look into a better
way of doing something like that.

I also added cmake-variants.json for vscode users and updated the
.gitignore appropriately.
36 files changed:
.gitignore
.vscode/cmake-variants.json [new file with mode: 0644]
CMakeLists.txt [new file with mode: 0644]
build.sh [new file with mode: 0755]
buildsys/build.cmake [new file with mode: 0644]
buildsys/dependencies.cmake [new file with mode: 0644]
buildsys/module/FindCURL.cmake [new file with mode: 0644]
buildsys/module/FindCrypto.cmake [new file with mode: 0644]
buildsys/module/FindJPEG.cmake [new file with mode: 0644]
buildsys/module/FindPNG.cmake [new file with mode: 0644]
buildsys/module/FindSDL2.cmake [new file with mode: 0644]
buildsys/module/FindVorbis.cmake [new file with mode: 0644]
buildsys/module/FindZLIB.cmake [new file with mode: 0644]
buildsys/target/engine.cmake [new file with mode: 0644]
buildsys/target/engine/client.cmake [new file with mode: 0644]
buildsys/target/engine/server.cmake [new file with mode: 0644]
buildsys/toolchain/mingw32.cmake [new file with mode: 0644]
buildsys/toolchain/mingw64.cmake [new file with mode: 0644]
game/default/dpconfig.cmake [new file with mode: 0644]
game/default/dpdefs/README.txt [new file with mode: 0644]
game/default/dpdefs/csprogsdefs.qc [new file with mode: 0644]
game/default/dpdefs/dpextensions.qc [new file with mode: 0644]
game/default/dpdefs/keycodes.qc [new file with mode: 0644]
game/default/dpdefs/menudefs.qc [new file with mode: 0644]
game/default/dpdefs/progsdefs.qc [new file with mode: 0644]
game/default/dpdefs/source_compare.pl [new file with mode: 0755]
game/default/dpdefs/source_compare.txt [new file with mode: 0644]
game/default/res/darkplaces.rc [new file with mode: 0644]
game/default/res/ico/darkplaces.ico [new file with mode: 0644]
game/default/res/ico/darkplaces.xpm [new file with mode: 0644]
game/default/res/ico/darkplaces16x16.png [new file with mode: 0644]
game/default/res/ico/darkplaces24x24.png [new file with mode: 0644]
game/default/res/ico/darkplaces32x32.png [new file with mode: 0644]
game/default/res/ico/darkplaces48x48.png [new file with mode: 0644]
game/default/res/ico/darkplaces64x64.png [new file with mode: 0644]
game/default/res/ico/darkplaces72x72.png [new file with mode: 0644]