prop: настройка библиотек

MachulinaDV 2 лет назад
Родитель 6a85816ca3
Сommit fd4a629f5f

@ -1,6 +1,7 @@
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include <math.h> #include <math.h>
#include <curl/curl.h>
#include "histogram.h" #include "histogram.h"
#include "text.h" #include "text.h"
#include "svg.h" #include "svg.h"
@ -36,6 +37,7 @@ input_data(istream& tin, bool promt)
int main() int main()
{ {
curl_global_init(CURL_GLOBAL_ALL);
auto in = input_data(cin, false); auto in = input_data(cin, false);
auto B = make_histogram(in.A, in.bin); auto B = make_histogram(in.A, in.bin);
show_histogram_svg (B); show_histogram_svg (B);

@ -31,7 +31,12 @@
<Compiler> <Compiler>
<Add option="-Wall" /> <Add option="-Wall" />
<Add option="-fexceptions" /> <Add option="-fexceptions" />
<Add directory="curl/include" />
</Compiler> </Compiler>
<Linker>
<Add library="libcurl.dll.a" />
<Add directory="curl/lib" />
</Linker>
<Unit filename=".gitignore" /> <Unit filename=".gitignore" />
<Unit filename="histogram.cpp" /> <Unit filename="histogram.cpp" />
<Unit filename="histogram.h"> <Unit filename="histogram.h">

Загрузка…
Отмена
Сохранить