View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009215 | CMake | CMake | public | 2009-06-28 22:04 | 2010-12-14 18:49 | ||||
Reporter | weixu | ||||||||
Assigned To | David Cole | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | unable to reproduce | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0009215: xcode 3.13 could not compile the project generated by cmake 2.6.4 | ||||||||
Description | I'm using cmake to generate make file for xcode 3.13, I'm using the following file structure to place different modules: Project Root |----CMakefile.txt (1) |----gui |----CMakefile.txt (2) |----src |----include |----wxstc |----CMakefile.txt (3) |----src |----include |----... other modules Here's config in the first CMakefile.txt CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(HelloWorldApp) SET(WXWIDGETS_DEFINITIONS -D__WX__ -D__WXMAC__ -DwxUSE_UNICODE) ADD_DEFINITIONS(-DMODDED -DNOPCH -D_UNICODE -DUNICODE -D_LIB ${WXWIDGETS_DEFINITIONS}) if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) endif(COMMAND cmake_policy) add_subdirectory(gui) Here's the config in the CMakefile.txt for sub module: PROJECT(gui) FILE(GLOB_RECURSE inFiles src/*.cpp include/*.h ) ADD_LIBRARY(gui ${inFiles}) INCLUDE_DIRECTORIES(include include ) Generate project files for xcode, then I got the error: /bin/sh -c /Users/weixu/projects/HelloWorldApp/builds/xcode/bin/HelloWorldApp.build/Debug/gui.build/Script-16D5E12016D5E12016D5E120.sh make: ../CMakeScripts/ReRunCMake.make: No such file or directory make: *** No rule to make target `../CMakeScripts/ReRunCMake.make'. Stop. this error can be manual fix by change property for target/CMake Rerun from make -C .. -f ../CMakeScripts/ReRunCMake.make to make -C . -f ./CMakeScripts/ReRunCMake.make but then got another error: make: *** No rule to make target `../../../wxstc/CMakeLists.txt', needed by `CMakeFiles/cmake.check_cache'. Stop. Does anyone knows how to do? Is there something wrong in my CMakeList.txt file? or do I missed something? It works before when I was using VC6 in another project. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0016771) weixu (reporter) 2009-06-29 01:15 |
I'm generating unix make files now, and it works fine, but I'm not familar with the GDB, so I still want the XCode generation. Thanks. |
(0018799) David Cole (manager) 2009-12-10 12:05 |
I did what you outlined in the bug report, putting an empty "test.h" in the include directory and a very simple "main" implementation in a 'src/test.cpp' file... but I did not see the error you are speaking of. It must have something to do with other parts of your project that you do not describe in the bug report. Please attach a *.tar.gz file of a project that demonstrates the issue if you re-open it for further investigation. Thanks, David Cole |
(0024066) David Cole (manager) 2010-12-14 18:49 |
Closing bugs that have been resolved for more than 3 months without any further updates. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-06-28 22:04 | weixu | New Issue | |
2009-06-29 00:04 | Bill Hoffman | Status | new => assigned |
2009-06-29 00:04 | Bill Hoffman | Assigned To | => David Cole |
2009-06-29 01:15 | weixu | Note Added: 0016771 | |
2009-12-10 12:05 | David Cole | Note Added: 0018799 | |
2009-12-10 12:05 | David Cole | Status | assigned => resolved |
2009-12-10 12:05 | David Cole | Resolution | open => unable to reproduce |
2010-12-14 18:49 | David Cole | Note Added: 0024066 | |
2010-12-14 18:49 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |