It's not about neither CMake or eclipse, but your target build system.
CMake is the build system of build system, the actually work is related to
the target building system.
If you generated eclipse CDT project + Makefile, of course it might be
parallel, there is the option when you create the pro
hello,
I want to use CMake as my primary build system. At some point I would
like to take advantage of the tools provided by IDEs, such as stepping
through code.
I know I can use CMake to generate an eclipse project, or use Eclipse to
generate a CMake project. My doubt is whether these optio
The behaviour's controlled by CMP0012. (The documentation for if()
doesn't seem as helpful as it could be. It does seem to suggest that
ON, TRUE, etc., ought to be true, without mentioning CMP0012.)
On Sat, 26 Jan 2019 at 17:22, frodak17 wrote:
>
> $ cmake --version
> cmake version 3.13.2
>
> $ c
$ cmake --version
cmake version 3.13.2
$ cmake -S src -B testON
ON is ON
-- Configuring done
-- Generating done
-- Build files have been written to:...
$ cat src/CMakeLists.txt
cmake_minimum_required(VERSION 3.12)
project(sample C)
if(ON)
message("ON is ON")
endif()
What version are you usin
Dear All,
I'm plagued by an issue that I do not understand. An if-statement
(in a package configuration file) evaluates ON to false:
IF(ON)
...some code here
ENDIF()
The part inside IF is *not* executed. Replacing ON by TRUE does not
help, only replacing it by 1 helps. Is this correct beha