How to revise CLion CmakeLIsts.txt?

I have a simple cpp program that needs to compiled with the following flags. Could you help how to properly update the CMakeLists.txt?

-I/Users/guh/LLVM/6.0/llvm/include -I/Users/guh/LLVM/6.0/llvm/cmake-build-debug/include  -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -g  -fno-exceptions -fno-rtti -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-L/Users/guh/LLVM/6.0/llvm/cmake-build-debug/lib -Wl,-search_paths_first -Wl,-headerpad_max_install_names
-lLLVMCore -lLLVMBinaryFormat -lLLVMSupport -lLLVMDemangle
-lz -lcurses -lm -lxml2

0

请先登录再写评论。