Thanks for reply!
I want to build a lighter slicer, so I want to custom the Slicer to remove extra modules that I don’t want.
About Slicer Source
I have git clone the Slicer repository on my machine and before the build, I always use commands
git pull origin to sync from remote repo
Here is the screenshot of the Options in CMakeList.txt from the SlicerCustomAppTemplate
My platform is Win10 X64 version 17763
Here is command-line in my batch file and I use it to generate the VS projects.
cd /d D:\\t3
"D:\\Library\\cmake-3.14.0-rc3-win64-x64\\bin\\cmake.exe" -G "Visual Studio 15 2017 Win64" -T "v140" -Dslicersources_SOURCE_DIR=D:\\Projects\\Slicer -DQt5_DIR:PATH=D:\\Library\\Qt\\Qt5.10.0\\5.10.0\\msvc2015_64\\lib\\cmake\\Qt5 D:\\Projects\\test
And then I use the VS2017 open the .sln to finish the ALL_BUILD.
When it build at Slicer projects, it stopped and throw a error just like this
Can not open include file
I try to add the required .h and .cxx dir in Slicer project include path, It still the same error.
About Something else I want to know
It seems that the Options in the SlicerCustomAppTemplate are not the whole options, Where can I get the whole options
ALL of the Options in SlicerCustomAppTemplate can be TURN OFF? Which ones can be turned off, or Which ones can not be turned off.
How to build the Slicer faster.
Thanks for your reply