Skip to content
Snippets Groups Projects
Commit 13f0a096 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

organise the build setup nicely

parent a4eb131f
No related branches found
No related tags found
No related merge requests found
project('hexboard-cpp', 'cpp')
src = ['src/main.cpp', 'src/lib/State.cpp']
executable('hexboard-cpp', src)
subdir('src')
subdir('test')
\ No newline at end of file
......@@ -5,7 +5,7 @@
* Author: webpigeon
*/
#include <src/lib/state.h>
#include "lib/state.h"
#include <iostream>
using namespace std;
......
src = ['main.cpp', 'lib/state.cpp']
e = executable('hexboard-cpp', src)
\ No newline at end of file
This diff is collapsed.
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"
testexe = executable('hexboard-test', 'hex_test.cpp')
test('hexboard', testexe)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment