Author Topic: Do not compile subdirectory files  (Read 2733 times)

Offline jank9201

  • Multiple posting newcomer
  • *
  • Posts: 14
Do not compile subdirectory files
« on: March 23, 2014, 02:07:14 am »
    I have a program, there are cpp source files in the  main directory and c source files in the subdirectory, now,if I click the build memu command, the compiler only compiled the main directory, does not compiled the c source files in the subdirectory into object files, how this happened? does any one can help me?

Online stahta01

  • Lives here!
  • ****
  • Posts: 7017
    • My Best Post
Re: Do not compile subdirectory files
« Reply #1 on: March 23, 2014, 03:07:35 am »
Are you using a CB Project?
If yes, are the files part of the CB project?

If yes, to both of the above, post the CB "Build Log" Please read the link this time!!!!
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Tim S.
« Last Edit: March 23, 2014, 03:33:52 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org