mirror of
https://github.com/holub/mame
synced 2025-10-04 08:28:39 +03:00
added make option to generate CMake files for CLion and root project file (nw)
also ignored CMakeLists.txt in root
This commit is contained in:
parent
0284402d1c
commit
44ffd8dd61
3
.gitignore
vendored
3
.gitignore
vendored
@ -22,4 +22,5 @@
|
||||
/.idea
|
||||
src/regtests/chdman/temp
|
||||
src/regtests/jedutil/output
|
||||
*.pyc
|
||||
*.pyc
|
||||
/CMakeLists.txt
|
9
makefile
9
makefile
@ -1074,6 +1074,15 @@ os2_x86: generate $(PROJECTDIR)/gmake-os2/Makefile
|
||||
$(SILENT) $(MAKE) -C $(PROJECTDIR)/gmake-os2 config=$(CONFIG)32
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
# cmake
|
||||
#-------------------------------------------------
|
||||
cmake: generate
|
||||
$(SILENT) $(GENIE) $(PARAMS) cmake
|
||||
$(SILENT)echo cmake_minimum_required(VERSION 2.8.4) > CMakeLists.txt
|
||||
$(SILENT)echo add_subdirectory($(PROJECTDIR)/cmake) >> CMakeLists.txt
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
# Clean/bootstrap
|
||||
#-------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user