# How can I use cmake with Taskig compiler?

**URL:** https://discourse.cmake.org/t/how-can-i-use-cmake-with-taskig-compiler/10346
**Category:** Usage
**Created:** [March 12, 2024, 1:55pm UTC](https://discourse.cmake.org/t/how-can-i-use-cmake-with-taskig-compiler/10346 "2024-03-12T13:55:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![xmaze](https://discourse.cmake.org/user_avatar/discourse.cmake.org/xmaze/32/4397_2.png) [@xmaze](https://discourse.cmake.org/u/xmaze)
#### Post date: [March 12, 2024, 1:55pm UTC](https://discourse.cmake.org/t/how-can-i-use-cmake-with-taskig-compiler/10346/1 "2024-03-12T13:55:55Z")

</div>

Hi,

I try to create a cmake project to build my static library with the TASKING compiler.  
I set the compier path but when I run the cmake generator, I have the following error, Compiling the C

```
compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Tools/TASKING/TriCore v6.3r1/ctc/bin/cc.exe 
Build flags: 
Id flags: -c;-I __does_not_exist__ 
  
  The output was:
  no such file or directory

```

I think, cmake tryies to compile the C file with options from gcc Compiler.  
Any idea?  
I also have seen. that there is a variable CMAKE\_TASKING\_TOOLSET, but the docu is not so good, I tried the following

```
set(CMAKE_TASKING_TOOLSET true)

```

but nothing changed.

Kind regards,  
Nikos

---

<div class="post-metadata">

### Author: ![jtxa](https://discourse.cmake.org/user_avatar/discourse.cmake.org/jtxa/32/1535_2.png) [@jtxa](https://discourse.cmake.org/u/jtxa)
#### Post date: [March 13, 2024, 11:58pm UTC](https://discourse.cmake.org/t/how-can-i-use-cmake-with-taskig-compiler/10346/2 "2024-03-13T23:58:37Z")

</div>

I guess you have a “space” problem. Please try a compiler path without a space to confirm.  
Spaces in paths makes everything more complicated in build tools.
