Author: Tari
Posted: 26 Dec 2012 05:14:54 pm (GMT -5)
I'm going to assume you didn't run CMake, which would be the problem.. CMake has a CodeBlocks generator, which you may like. Running cmake without any parameters will make it print a list of available generators:
eg
Code:
And open the project file it generates.
You can't just build main.c and expect it to work, because it's several modules.
_________________
![]()
![]()
![]()
Ask questions the smart way· タリ
Posted: 26 Dec 2012 05:14:54 pm (GMT -5)
I'm going to assume you didn't run CMake, which would be the problem.. CMake has a CodeBlocks generator, which you may like. Running cmake without any parameters will make it print a list of available generators:
Quote: |
CodeBlocks - MinGW Makefiles= Generates CodeBlocks project files. CodeBlocks - NMake Makefiles= Generates CodeBlocks project files. CodeBlocks - Unix Makefiles = Generates CodeBlocks project files. |
Code:
C:\Users\Kids\repos> mkdir build
C:\Users\Kids\repos> cd build
C:\Users\Kids\repos\build> cmake -G "CodeBlocks - NMake Makefiles" ..
You can't just build main.c and expect it to work, because it's several modules.
_________________



Ask questions the smart way· タリ