Cmake executable name

后端 未结 2 1775
执念已碎
执念已碎 2021-02-07 00:36

How can I set the executable name in CMake?

I tried using set(EXECUTABLE_OUTPUT_PATH \"...\"), but that only specifies the directory where the executable is

2条回答
  •  孤城傲影
    2021-02-07 01:23

    Have you tried using SET_TARGET_PROPERTIES and using the OUTPUT_NAME property?

提交回复
热议问题