source: CMT/v1r16p20040901/mgr/NMake @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 2.1 KB
Line 
1
2cmtexe = ..\$(CMTBIN)\cmt.exe
3
4!if exist ("..\VisualC") == 0
5!if [mkdir ..\VisualC] == 0
6!endif
7!endif
8
9!if [copy cmt_dependencies.nmake ..\VisualC] == 0
10!endif
11
12!if exist ("$(cmtexe)")
13!if [$(cmtexe) -quiet build constituent_makefile cmt] == 0
14!endif
15!else
16!if [echo no cmt] == 0
17!endif
18!endif
19
20cmt_install_action = echo
21cmt_uninstall_action = echo
22CMTINSTALLAREA =
23
24!include cmt.nmake
25
26all ::
27        @set include=$(include)
28        @set lib=$(lib)
29
30all :: cmt
31        echo all ok
32
33cmttag ::
34        $(cmtexe) build tag_makefile | find /I /V "Arnault" | find /I /V "include=" | find /I /V "lib=" | find /I /V "PATH=" | find /I /V "CMTROOT=" >VisualC.nmake
35
36democlean ::
37        -rmdir /Q /S ..\demo
38
39demo :: democlean
40        mkdir ..\demo
41        $(cmtexe) create demoA v1 ..\demo
42        $(cmtexe) create demoB v1 ..\demo
43        $(cmtexe) create demoC v1 ..\demo
44        mkdir ..\demo\demoA\v1\demoA
45        mkdir ..\demo\demoA\v1\cmt\fragments
46        mkdir ..\demo\demoA\v1\cmt\fragments\nmake
47        copy ..\src\demo\demoA\requirements ..\demo\demoA\v1\cmt
48        copy ..\src\demo\demoA\init.bat ..\demo\demoA\v1\cmt
49        copy ..\src\demo\demoA\*.cxx ..\demo\demoA\v1\src
50        copy ..\src\demo\demoA\demoA.h ..\demo\demoA\v1\demoA
51        copy ..\src\demo\demoA\*.java ..\demo\demoA\v1\src
52        copy ..\src\demo\demoA\fragments\rename* ..\demo\demoA\v1\cmt\fragments
53        copy ..\src\demo\demoA\fragments\nmake\rename* ..\demo\demoA\v1\cmt\fragments\nmake
54        copy ..\src\demo\demoB\requirements ..\demo\demoB\v1\cmt
55        copy ..\src\demo\demoB\init.bat ..\demo\demoB\v1\cmt
56        copy ..\src\demo\demoB\*.cxx ..\demo\demoB\v1\src
57        copy ..\src\demo\demoB\*.java ..\demo\demoB\v1\src
58        copy ..\src\demo\demoC\requirements ..\demo\demoC\v1\cmt
59        copy ..\src\demo\demoC\*.cxx ..\demo\demoC\v1\src
60        set CMTPATH=$(CMTROOT)\demo
61        cd ..\demo\demoA\v1\cmt
62        call setup.bat
63        nmake /f nmake all_groups check
64        cd ..\..\..\demoB\v1\cmt
65        call setup.bat
66        nmake /f nmake all check
67        cd ..\..\..\demoC\v1\cmt
68        call setup.bat
69        $(cmtexe) config
70        nmake /f nmake all check
71
72
73gendoc :
74        @cd ../doc
75        @\Arnault\Python23\python.exe gendoc.py CMTDoc.xml >CMTDoc.html
76
Note: See TracBrowser for help on using the repository browser.