Last active
September 13, 2016 02:48
-
-
Save sa2ajj/ba9c662efe223cd1c8546be08b2eca7e to your computer and use it in GitHub Desktop.
relative paths all the way?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
build CMakeFiles/blah.dir/main.cpp.o: CXX_COMPILER__blah ../main.cpp | |
DEP_FILE = CMakeFiles/blah.dir/main.cpp.o.d | |
OBJECT_DIR = CMakeFiles/blah.dir | |
OBJECT_FILE_DIR = CMakeFiles/blah.dir | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.6) | |
project(blah) | |
add_executable( | |
blah | |
main.cpp | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake -G Ninja /path/to/cmake-problem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
rule CXX_COMPILER__blah | |
depfile = $DEP_FILE | |
deps = gcc | |
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in | |
description = Building CXX object $out | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment