<div dir="ltr">Thanks - seems to work nice.<div>1) Add CMake build command: cmake --build build</div><div>2) Create a build directory in the project</div><div>3) Init CMakeLists.txt and run cmake -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM=ming32-make</div><div><br></div><div>mymachine ~/cppsandbox/memories/build<br>λ cmake .. -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM=mingw32-make<br>-- The C compiler identification is GNU 7.3.0<br>-- The CXX compiler identification is GNU 7.3.0<br>-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe<br>-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Detecting C compile features<br>-- Detecting C compile features - done<br>-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe<br>-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Detecting CXX compile features<br>-- Detecting CXX compile features - done<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: C:/Users/pmu/cppsandbox/myprj/build<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 7, 2019 at 12:14 PM Lex Trotman <<a href="mailto:elextr@gmail.com">elextr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Geany can run any command line tool, see<br>
<a href="https://www.geany.org/manual/current/index.html#build-menu-configuration" rel="noreferrer" target="_blank">https://www.geany.org/manual/current/index.html#build-menu-configuration</a><br>
<br>
Cheers<br>
Lex<br>
<br>
On Fri, 7 Jun 2019 at 20:01, Patrick Mulder <<a href="mailto:mulder.patrick@gmail.com" target="_blank">mulder.patrick@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> I was wondering how to best run a build with CMake, e.g.<br>
><br>
>  CMakeLists.txt<br>
><br>
> project(myprj)<br>
> add_executable(myprj main.cpp)<br>
><br>
> Then, would I generate this project with:<br>
> mkdir build<br>
> cd build<br>
> cmake -G "..." ..<br>
> cmake --build .<br>
><br>
> What would be the flow with Geany?<br>
><br>
> Thanks!<br>
><br>
> Patrick<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.geany.org" target="_blank">Users@lists.geany.org</a><br>
> <a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org" target="_blank">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>