Thanks - seems to work nice.
1) Add CMake build command: cmake --build build
2) Create a build directory in the project
3) Init CMakeLists.txt and run cmake -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM=ming32-make

mymachine ~/cppsandbox/memories/build
λ cmake .. -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM=mingw32-make
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/pmu/cppsandbox/myprj/build

On Fri, Jun 7, 2019 at 12:14 PM Lex Trotman <elextr@gmail.com> wrote:
Geany can run any command line tool, see
https://www.geany.org/manual/current/index.html#build-menu-configuration

Cheers
Lex

On Fri, 7 Jun 2019 at 20:01, Patrick Mulder <mulder.patrick@gmail.com> wrote:
>
> Hello,
>
> I was wondering how to best run a build with CMake, e.g.
>
>  CMakeLists.txt
>
> project(myprj)
> add_executable(myprj main.cpp)
>
> Then, would I generate this project with:
> mkdir build
> cd build
> cmake -G "..." ..
> cmake --build .
>
> What would be the flow with Geany?
>
> Thanks!
>
> Patrick
>
>
>
>
> _______________________________________________
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users