• <bdo id='UmkWY'></bdo><ul id='UmkWY'></ul>

      <legend id='UmkWY'><style id='UmkWY'><dir id='UmkWY'><q id='UmkWY'></q></dir></style></legend>
    1. <tfoot id='UmkWY'></tfoot>

      <small id='UmkWY'></small><noframes id='UmkWY'>

    2. <i id='UmkWY'><tr id='UmkWY'><dt id='UmkWY'><q id='UmkWY'><span id='UmkWY'><b id='UmkWY'><form id='UmkWY'><ins id='UmkWY'></ins><ul id='UmkWY'></ul><sub id='UmkWY'></sub></form><legend id='UmkWY'></legend><bdo id='UmkWY'><pre id='UmkWY'><center id='UmkWY'></center></pre></bdo></b><th id='UmkWY'></th></span></q></dt></tr></i><div id='UmkWY'><tfoot id='UmkWY'></tfoot><dl id='UmkWY'><fieldset id='UmkWY'></fieldset></dl></div>

        CLion 在哪里存储可执行文件?

        Where does CLion store executable files?(CLion 在哪里存储可执行文件?)

            <bdo id='6x9ef'></bdo><ul id='6x9ef'></ul>

            <tfoot id='6x9ef'></tfoot>

              <small id='6x9ef'></small><noframes id='6x9ef'>

              • <i id='6x9ef'><tr id='6x9ef'><dt id='6x9ef'><q id='6x9ef'><span id='6x9ef'><b id='6x9ef'><form id='6x9ef'><ins id='6x9ef'></ins><ul id='6x9ef'></ul><sub id='6x9ef'></sub></form><legend id='6x9ef'></legend><bdo id='6x9ef'><pre id='6x9ef'><center id='6x9ef'></center></pre></bdo></b><th id='6x9ef'></th></span></q></dt></tr></i><div id='6x9ef'><tfoot id='6x9ef'></tfoot><dl id='6x9ef'><fieldset id='6x9ef'></fieldset></dl></div>
                <legend id='6x9ef'><style id='6x9ef'><dir id='6x9ef'><q id='6x9ef'></q></dir></style></legend>
                    <tbody id='6x9ef'></tbody>
                  本文介绍了CLion 在哪里存储可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在 Ubuntu 14.04 上安装了 CLion.我在 CMakeLists.txt 的帮助下构建了我的第一个项目:

                  I install the CLion on a Ubuntu 14.04. I build my first project with help CMakeLists.txt:

                  源文件:

                  #include <iostream>
                  using namespace std;
                  
                  int main() {
                    cout << "Hello, World!" << endl;
                    return 0;
                  }
                  

                  CMakeLists.txt:

                  CMakeLists.txt:

                  cmake_minimum_required(VERSION 2.8.4)
                  project(sh)
                  
                  set(SOURCE_FILES main.cpp)
                  add_executable(sh ${SOURCE_FILES})
                  

                  我的源文件位于 /home/user/Desktop/sh.但是在构建之后,我在这个文件夹中没有看到任何可执行文件.它在哪里?

                  My source file is located in a /home/user/Desktop/sh. But after build, I don't see any executable file in this folder. Where is it?

                  推荐答案

                  在 CLion 下构建时,

                  When you build under CLion,

                  它打印将可执行文件发送到控制台的路径:

                  It prints the path it sends the executable to the Console:

                  -- Build files have been written to: /home/<user>/.clion10/system/cmake/generated/8bd932b1/8bd932b1/Debug1
                  

                  要更改此<代码>文件>设置...,然后在 CMake 设置下,在工作目录字段中输入所需的子目录名称(例如,'bin'):

                  To change this File > Settings..., and under CMake settings, enter the desired subdirectory name (e.g., 'bin') in the Working directory field:

                  (在使用新的输出路径之前,您可能需要 Run > Clean.)

                  (You may require Run > Clean before the new output path is used.)

                  这篇关于CLion 在哪里存储可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  What is inside .lib file of Static library, Statically linked dynamic library and dynamically linked dynamic library?(静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么?)
                  How do I load a C DLL from the SXS in Python?(如何从 Python 中的 SXS 加载 C DLL?)
                  Can Cython code be compiled to a dll so C++ application can call it?(Cython 代码可以编译成 dll 以便 C++ 应用程序可以调用它吗?)
                  Delay Loading DLLs(延迟加载 DLL)
                  Throwing C++ exceptions across DLL boundaries(跨 DLL 边界抛出 C++ 异常)
                  Loading a dll from a dll?(从 dll 加载 dll?)

                      <tbody id='nNQ3M'></tbody>
                    • <bdo id='nNQ3M'></bdo><ul id='nNQ3M'></ul>

                        <i id='nNQ3M'><tr id='nNQ3M'><dt id='nNQ3M'><q id='nNQ3M'><span id='nNQ3M'><b id='nNQ3M'><form id='nNQ3M'><ins id='nNQ3M'></ins><ul id='nNQ3M'></ul><sub id='nNQ3M'></sub></form><legend id='nNQ3M'></legend><bdo id='nNQ3M'><pre id='nNQ3M'><center id='nNQ3M'></center></pre></bdo></b><th id='nNQ3M'></th></span></q></dt></tr></i><div id='nNQ3M'><tfoot id='nNQ3M'></tfoot><dl id='nNQ3M'><fieldset id='nNQ3M'></fieldset></dl></div>
                        <tfoot id='nNQ3M'></tfoot>

                        1. <small id='nNQ3M'></small><noframes id='nNQ3M'>

                            <legend id='nNQ3M'><style id='nNQ3M'><dir id='nNQ3M'><q id='nNQ3M'></q></dir></style></legend>