Skip to content

Instantly share code, notes, and snippets.

@mensinda
Created December 30, 2018 16:06
Show Gist options
  • Save mensinda/449714883c43d60ecbf177f7a4e8a906 to your computer and use it in GitHub Desktop.
Save mensinda/449714883c43d60ecbf177f7a4e8a906 to your computer and use it in GitHub Desktop.
Target stuff
project('gtest', 'cpp', version : '1.8.0', license : 'bsd')
subdir('googletest')
subdir('googlemock')
e = executable('testprog', 't1.cpp', dependencies : gtest_main_dep)
test('gtest test', e)
[
{
"name": "testprog",
"id": "testprog@exe",
"type": "executable",
"filename": "testprog",
"build_by_default": true,
"sources": [
{
"language": "cpp",
"compiler": [
"c++"
],
"parameters": [
"-I/home/daniel/mesonPerf/googletest-release-1.8.0/build/testprog@exe",
"-I/home/daniel/mesonPerf/googletest-release-1.8.0/build",
"-I/home/daniel/mesonPerf/googletest-release-1.8.0",
"-fdiagnostics-color=always",
"-pipe",
"-D_FILE_OFFSET_BITS=64",
"-Wall",
"-Winvalid-pch",
"-Wnon-virtual-dtor",
"-g",
"-pthread",
"-isystem",
"../googletest",
"-isystem",
"googletest",
"-isystem",
"../googletest/include"
],
"sources": [
"/home/daniel/mesonPerf/googletest-release-1.8.0/t1.cpp",
"/home/daniel/mesonPerf/googletest-release-1.8.0/googletest/src/gtest-all.cc",
"/home/daniel/mesonPerf/googletest-release-1.8.0/googletest/src/gtest_main.cc"
],
"generated_sources": []
}
],
"installed": false
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment