cpputils-cmake icon indicating copy to clipboard operation
cpputils-cmake copied to clipboard

Easy real time C++ syntax check and intellisense if you use CMake

Results 14 cpputils-cmake issues
Sort by recently updated
recently updated
newest added

As the title says `cppcm-create-makefile-for-flymake` generates a `Makefile` inside `src-dir`. I'm not sure where this file should go, but certainly not inside `src-dir`, i.e. project root.

我不知道标题怎么表述,最近有这样一个工程,希望在 test/ 中写多个测试文件,利用 cmake 控制了多个main函数的分别编译,在命令行中 `make target` 或者 `make all` 是没有问题的 ![image](https://cloud.githubusercontent.com/assets/11417632/23828256/59fff78a-0707-11e7-9016-8ee8ba970119.png) 但在 emacs 中, 只有 `src/main.cc` 中的语法错误被 flymake 标出了,而 `test/face.cc` 中同样的语法错误却没有标出 ![screenshot_2017-03-12_09-40-46](https://cloud.githubusercontent.com/assets/11417632/23828267/d9cafdac-0707-11e7-9781-669be7c581c0.png) src/ 文件夹下的cmakelist 是这样的 ``` cmake_minimum_required(VERSION 2.6) add_subdirectory(../libs...

Although some of my software projects use cmake not all do. For those projects who do not, the irony support in cpputils-cmake causes problems. This patch fixes the warnings for...

It seems that the `.elf` was discarded. associated code: ``` add_executable(${PROJECT_NAME}.elf ${SOURCE_FILES} ${MBED_OBJECTS}) target_link_libraries(${PROJECT_NAME}.elf ${MBED_LIBS}) add_custom_command(TARGET ${PROJECT_NAME}.elf POST_BUILD COMMAND ${ARM_NONE_EABI_OBJCOPY} -O binary ${PROJECT_NAME}.elf ${PROJECT_NAME}.bin COMMAND ${ARM_NONE_EABI_OBJCOPY} -O ihex ${PROJECT_NAME}.elf ${PROJECT_NAME}.hex...

Hi, Chen bin, I'm using cpputils-cmake now. And I found that some c++ flags like -std=c++11 was missed. I think it is caused by the cppcm-trim-compiling-flags function. And I've tried...

chenbin,您好。 在使用cpputils-cmake的过程中发现,对于如下示例工程,打开 test.cc 后会显示 test.h file not found,使用的是flycheck mkdir -p test/include test/src; echo "cmake_minimum_required(VERSION 2.8) project(Test) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY \${CMAKE_BINARY_DIR}/lib) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY \${CMAKE_BINARY_DIR}/lib) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY \${CMAKE_BINARY_DIR}/bin) include_directories(\${PROJECT_SOURCE_DIR}/include) add_subdirectory(src)" > test/CMakeLists.txt ; echo "add_library(test test)"...

在cmake 3.4中,flag.make 中除了 CXX_FLAGS 和 CXX_DEFINES, 还会有一个 CXX_INCLUDES 需要包含到 include path 中 举例来说 cmake 2.8 产生的 flag.make 如下 # CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles"...

it emits an annoying warning message everytime its run even though I have `(setq cppcm-write-flymake-makefile nil)` in my .emacs, either that or the message is wrong.

the flag used current is only -C to appoint build dir. However flags such as `-k` may be useful too. Is there a way to use customized make flags? I...