Switch to CMake for Qt build
This commit is contained in:
		
							parent
							
								
									2138179760
								
							
						
					
					
						commit
						761fc4aa90
					
				
					 8 changed files with 73 additions and 53 deletions
				
			
		
							
								
								
									
										15
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										15
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -1,12 +1,15 @@ | |||
| all: | ||||
| 	dune build src/lib/oboy.exe | ||||
| BUILD:=_build | ||||
| 
 | ||||
| # all:
 | ||||
| # 	dune build src/core/oboy.exe
 | ||||
| 
 | ||||
| core: | ||||
| 	dune build src/core/oboy.a | ||||
| 	dune build src/core/oboy.so | ||||
| 	cp _build/default/src/core/oboy.so $(BUILD)/liboboycore.so | ||||
| 
 | ||||
| check: | ||||
| 	ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte -- | ||||
| 	ocamlbuild -use-ocamlfind -I src -lflag -g test/test_interrupt.byte -- | ||||
| # check:
 | ||||
| # 	ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --
 | ||||
| # 	ocamlbuild -use-ocamlfind -I src -lflag -g test/test_interrupt.byte --
 | ||||
| 
 | ||||
| clean: | ||||
| 	dune clean | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue