I used qmake but I'd like to experiment with cmake..
I would like to work with a project structure like the following:
Myproject
  -- build
    -- release
    -- debug
  -- src
    -- mysource1.cpp
    -- mysource1.h
    -- mysource2.cpp
    -- mysource2.h
    ...
    -- main.cpp
  myexecutable_release
  myexecutable_debug
  CMakeLists.txt
How do I set CMakeLists.txt to use the above structure ? How do I associate debug and release configuration using QtCreator ? Or, as I don't have any particular complex need, should I just forget it and continue using qmake ? (it's a scientific software for linux/windows)
BDW: yes, I have read the CMake tutorial, but instead of starting from basic things like this question they already introduce complex topics like introspection and generators.. maybe different audience ??
 
     
    