MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011137 | CMake | CMake | public | 2010-08-17 05:41 | 2014-03-05 09:58 |
Reporter | Modestas Vainius | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | i386 | OS | Debian GNU//Linux | OS Version | 6.0 prerelease |
Product Version | CMake-2-8 | ||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||
Summary | 0011137: Unable to parse CMakeLists.txt in UTF-8 with BOM encoding | ||||
Description | Forwarded from http://bugs.debian.org/593327 [^] -------------- CMake is unable to parse CMakeLists.txt in UTF-8 with Byte Order Mark encoding. | ||||
Steps To Reproduce | An example: CMakeLists.txt contents: ============================= cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR) project(az) set(VERSION_STRING "0.0") include(ProcessAROCCAMProject) add_aroccam_project(${PROJECT_SOURCE_DIR}/az.awp) include_directories(src/${PROJECT_NAME}) file(GLOB_RECURSE project_sources ${PROJECT_SOURCE_DIR}/src/${PROJECT_NAME}/*.cpp) set(src_files ${project_sources} ${init_source_file}) find_package(Aroccam REQUIRED camera timer xlib_qtviewer) include(AroccamApplication) target_link_libraries(${TARGET}) ============================= On the command line: vadim(EFF-C001):~/Sources/qs$ file CMakeLists.txt CMakeLists.txt: UTF-8 Unicode (with BOM) text vadim(EFF-C001):~/Sources/qs$ cd build vadim(EFF-C001):~/Sources/qs/build$ cmake .. CMake Error: Error in cmake code at /home/vadim/Sources/qs/CMakeLists.txt:1: Parse error. Expected a command name, got unquoted argument with text "cmake_minimum_required". -- Configuring incomplete, errors occurred! | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-08-17 05:41 | Modestas Vainius | New Issue | |||
2012-08-11 21:35 | David Cole | Status | new => backlog | ||
2012-08-11 21:35 | David Cole | Note Added: 0030391 | |||
2012-08-12 15:34 | Christoph Anton Mitterer | Note Added: 0030461 | |||
2012-08-13 11:00 | David Cole | Note Added: 0030566 | |||
2013-10-21 09:03 | Brad King | Note Added: 0034182 | |||
2013-10-21 09:03 | Brad King | Assigned To | => Brad King | ||
2013-10-21 09:03 | Brad King | Status | backlog => resolved | ||
2013-10-21 09:03 | Brad King | Resolution | open => fixed | ||
2013-10-21 09:03 | Brad King | Fixed in Version | => CMake 3.0 | ||
2013-10-21 09:03 | Brad King | Target Version | => CMake 3.0 | ||
2014-03-05 09:58 | Robert Maynard | Note Added: 0035289 | |||
2014-03-05 09:58 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|