Remove cmake help section README.md

This commit is contained in:
Lakindu Akash 2020-10-04 17:20:59 +05:30
parent 72877872c2
commit c9de3fdf28
No known key found for this signature in database
GPG Key ID: 87D9889F7A634A38
2 changed files with 2 additions and 17 deletions

View File

@ -82,21 +82,6 @@ Also you can use `sudo make clean-old` without checking out to the previous vers
## Uninstallation
sudo make uninstall
#### To build with cmake (Deprecated)
You need additionally `cmake`
Use the `Makefile.cmake`
cd linux-wifi-hotspot
#Build binaries
make -f Makefile.cmake
#Install
sudo make -f Makefile.cmake install
#Uninstall
sudo make -f Makefile.cmake uninstall
## Running
You can run it from terminal or from application menu.

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.12)
project(wihotspot_gui)
project(wihotspot-gui)
include(FindPkgConfig)
pkg_check_modules(GTK gtk+-3.0 REQUIRED)
@ -10,7 +10,7 @@ include_directories(${X11_INCLUDE_DIRS})
set(CMAKE_C_STANDARD 99)
set (CMAKE_CXX_STANDARD 11)
add_executable(wihotspot_gui ui/main.c ui/h_prop.c ui/h_prop.h ui/ui.c ui/ui.h ui/read_config.cpp ui/read_config.h ui/util.c ui/util.h)
add_executable(wihotspot-gui ui/main.c ui/h_prop.c ui/h_prop.h ui/ui.c ui/ui.h ui/read_config.cpp ui/read_config.h ui/util.c ui/util.h)
target_link_libraries(${PROJECT_NAME} ${GTK_LIBRARIES} ${X11_LIBRARIES})