Modernise CMake
* Use `GNUInstallDirs` in order to respect GNU conventions. This is especially important for multi-arch/multi-lib setups. * Specify position independent mode building properly, without using the historic hack of adding `-fPIC` as a definition. This makes the build system more portable. * Only detect C++ (and not C) to slightly speed up configuring. * Specify C++11 mode using modern CMake idioms. * Fix some whitespace issues.
Showing
- CMakeLists.txt 29 additions, 22 deletionsCMakeLists.txt
- External/CMakeLists.txt 26 additions, 27 deletionsExternal/CMakeLists.txt
- OGLCompilersDLL/CMakeLists.txt 3 additions, 3 deletionsOGLCompilersDLL/CMakeLists.txt
- SPIRV/CMakeLists.txt 4 additions, 4 deletionsSPIRV/CMakeLists.txt
- StandAlone/CMakeLists.txt 6 additions, 8 deletionsStandAlone/CMakeLists.txt
- glslang/CMakeLists.txt 5 additions, 5 deletionsglslang/CMakeLists.txt
- glslang/OSDependent/Unix/CMakeLists.txt 3 additions, 3 deletionsglslang/OSDependent/Unix/CMakeLists.txt
- glslang/OSDependent/Windows/CMakeLists.txt 4 additions, 4 deletionsglslang/OSDependent/Windows/CMakeLists.txt
- gtests/CMakeLists.txt 47 additions, 47 deletionsgtests/CMakeLists.txt
- hlsl/CMakeLists.txt 3 additions, 3 deletionshlsl/CMakeLists.txt
Loading
Please register or sign in to comment