File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ CMAKEARGS+ =$(if $(D ) ,-DCMAKE_BUILD_TYPE=Debug,-DCMAKE_BUILD_TYPE=Release)
2
+ CMAKEARGS+ =$(if $(COV ) ,-DOPT_COV=1)
3
+ CMAKEARGS+ =$(if $(PROF ) ,-DOPT_PROF=1)
4
+ CMAKEARGS+ =$(if $(LIBCXX ) ,-DOPT_LIBCXX=1)
5
+
1
6
cmake :
2
- cmake -B build . $(if $( D ) ,-DCMAKE_BUILD_TYPE=Debug,-DCMAKE_BUILD_TYPE=Release) $( CMAKEARGS )
7
+ cmake -B build . $(CMAKEARGS )
3
8
$(MAKE ) -C build $(if $(V ) ,VERBOSE=1)
4
9
10
+ vc :
11
+ " C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -G" Visual Studio 16 2019" -B build . $(CMAKEARGS )
12
+ " C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" build/* .sln -t:Rebuild
13
+
5
14
6
15
clean :
7
16
$(RM ) -r build CMakeFiles CMakeCache.txt CMakeOutput.log
You can’t perform that action at this time.
0 commit comments