View in context in the libbitcoin Slack #general mirror.
cd builds/cmake && mkdir out && cd out && cmake .. && cmake --build .
and I get the following error at link time
`
[100%] Linking CXX executable libbitcoin-system-test
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
CMakeFiles/libbitcoin-system-test.dir/build.make:2876: recipe for target 'libbitcoin-system-test' failed
make[2]: *** [libbitcoin-system-test] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/libbitcoin-system-test.dir/all' failed
make[1]: *** [CMakeFiles/libbitcoin-system-test.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
`
Am I doing something wrong here?