Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2017-03-13 14:21:20 +01:00
commit a2bce4bc11
2 changed files with 2 additions and 2 deletions

View file

@ -445,7 +445,7 @@ else()
try_run(RUNA RUNB ${BINARY_DIR}/CMakeTmp ${SOURCE_DIR}/src/sourcery.cpp )
endif()
if("${RUNA}" EQUAL "2")
if("${RUNA}" EQUAL "42")
message("Not cross compiling - building sourcery")
add_executable(sourcery
src/sourcery.cpp

View file

@ -8,7 +8,7 @@
int main(int argc, char* argv[]){
if (argc < 4) {
std::cerr << "Usage: " << argv[0] << " <inputFile> <variableName> <outputFile>" << std::endl;
return 2;
return 42;
}
std::ofstream tmp(argv[3]);
//begin the first line