title: Cmake : /bigobj: No such file or directory
body: <p>When I was building an application of mine which used Assimp, I got an error</p>
  <pre><code>C:\Users\nitin\AppData\Local\Temp\ccA4Vs3q.s: Assembler messages:
  C:\Users\nitin\AppData\Local\Temp\ccA4Vs3q.s: Fatal error: can't write 117 bytes to section .text of CMakeFiles\assimp.dir\AssetLib\IFC\IFCReaderGen1_2x3.cpp.obj because: 'File too big'
  c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/as.exe: CMakeFiles\assimp.dir\AssetLib\IFC\IFCReaderGen1_2x3.cpp.obj: too many sections (46774)
  C:\Users\nitin\AppData\Local\Temp\ccA4Vs3q.s: Fatal error: can't close CMakeFiles\assimp.dir\AssetLib\IFC\IFCReaderGen1_2x3.cpp.obj: File too big
  Nade\vendor\assimp\code\CMakeFiles\assimp.dir\build.make:1965: recipe for target 'Nade/vendor/assimp/code/CMakeFiles/assimp.dir/AssetLib/IFC/IFCReaderGen1_2x3.cpp.obj' failed
  </code></pre>
  <p>So I searched online for solutions and I found a solution that said that I need to set the <code>/bigobj</code> flag.</p>
  <p>I am using Cmake and Mingw32-make.</p>
  <p>But when I add the definition like this</p>
  <pre><code>set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} /bigobj)
  </code></pre>
  <p>or like that</p>
  <pre><code>add_definitions(/bigobj)
  </code></pre>
  <p>I Get the error</p>
  <pre><code>/bigobj: No such file or directory
  </code></pre>
  <p>How do I solve this error while solving the Too Big OBJ file error at the same time?</p>