Astrodynamics / SpaceDSL

SpaceDSL is astrodynamics simulation library. This library can work on Windows, Linux and Mac OS.
MIT License
33 stars 12 forks source link

清除CMake生成的文件 #5

Open XiaoGongWei opened 4 years ago

XiaoGongWei commented 4 years ago

SpaceDSL项目下建立Build文件夹之后,进行编译。使用git status发现在代码文件夹出现很多Makefile,.cmake文件以及CMakeFiles文件夹。能不能讲这些再编译完成后清除呢?

xiaogongwei10@DavidLaptop:~/TestCode/SpaceDSL$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        CMakeCache.txt
        CMakeFiles/
        Dependence/CMakeFiles/
        Dependence/Eigen/CMakeFiles/
        Dependence/Eigen/Makefile
        Dependence/Eigen/cmake_install.cmake
        Dependence/Json/CMakeFiles/
        Dependence/Json/Makefile
        Dependence/Json/cmake_install.cmake
        ..........
[SPDSL.txt](https://github.com/Astrodynamics/SpaceDSL/files/4420024/SPDSL.txt)
qqnzhyxxx commented 4 years ago

git要把build文件夹屏蔽了

发自我的iPhone

在 2020年4月2日,下午5:23,xiaogongwei notifications@github.com 写道:

 SpaceDSL项目下建立Build文件夹之后,进行编译。使用git status发现在代码文件夹出现很多Makefile,.cmake文件以及CMakeFiles文件夹。能不能讲这些再编译完成后清除呢?

xiaogongwei10@DavidLaptop:~/TestCode/SpaceDSL$ git status On branch master Your branch is up to date with 'origin/master'.

Untracked files: (use "git add ..." to include in what will be committed)

    CMakeCache.txt
    CMakeFiles/
    Dependence/CMakeFiles/
    Dependence/Eigen/CMakeFiles/
    Dependence/Eigen/Makefile
    Dependence/Eigen/cmake_install.cmake
    Dependence/Json/CMakeFiles/
    Dependence/Json/Makefile
    Dependence/Json/cmake_install.cmake
    ..........

SPDSL.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

XiaoGongWei commented 4 years ago

嗯,你已经在.gitignore把Build文件夹屏蔽了。

/Build
/NLOpt/nlopt_config.h
/ElectronVisualizer/node_modules
/ElectronVisualizer/package-lock.json
/ElectronVisualizer/.vscode
CMakeLists.txt.user
.DS_Store

上面cmake生成的文件是在Dependence、NLOpt、PySpaceDSL、SpaceDSL、Test等文件夹里面。

XiaoGongWei commented 4 years ago

我用CMake编译SpaceDSL过程如下: 1、在SpaceDSL项目下新建Build文件夹,切换到Build。 2、在Build执行make ..(执行完成后发现Makefile文件不再build而是在SpaceDSL文件夹) 3、去SpaceDSL文件夹执行make 结果就会在Dependence、NLOpt、PySpaceDSL、SpaceDSL、Test等文件夹生成一堆.cmake文件. 最好写个安装或编译步骤。

qqnzhyxxx commented 4 years ago

好的~我清明节后更新一下

发自我的iPhone

在 2020年4月3日,上午9:04,xiaogongwei notifications@github.com 写道:

 我用CMake编译SpaceDSL过程如下: 1、在SpaceDSL项目下新建Build文件夹,切换到Build。 2、在Build执行make .. (执行完成后发现Makefile文件不再build而是在SpaceDSL文件夹) 3、去SpaceDSL文件夹执行make 结果就会在Dependence、NLOpt、PySpaceDSL、SpaceDSL、Test等文件夹生成一堆.cmake文件. 最好写个安装或编译步骤。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.