Closed matu3ba closed 1 year ago
Building cmake from source:
cd ~/dev/git/cpp git clone https://github.com/Kitware/CMake # either # ./bootstrap && make && sudo make install mkdir -p build cd build cmake -GNinja -DCMAKE_BUILD_TYPE="RelWithDebInfo" .. ninja # usage: PATH="${HOME}/dev/git/cpp/CMake/bin:${PATH}"
Instructions
#!/usr/bin/env sh PATH="${HOME}/dev/git/cpp/CMake/build/bin:${PATH}" CMAKE_GENERATOR=Ninja ./build x86_64-linux-musl native # file b.sh executed with ./b.sh &> error.txt
Output
Works again with the following build script:
#!/usr/bin/env sh PATH="$HOME/dev/git/cpp/CMake/build/bin:$PATH" CMAKE_GENERATOR=Ninja ./build x86_64-linux-musl native
Building cmake from source:
Instructions
Output