Commit b55b0abb authored by plyatov's avatar plyatov

Comments corrected in the root CMakeLists.txt.

parent f6b8194d
...@@ -4,6 +4,7 @@ PROJECT(kicad) ...@@ -4,6 +4,7 @@ PROJECT(kicad)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4 FATAL_ERROR) CMAKE_MINIMUM_REQUIRED(VERSION 2.4 FATAL_ERROR)
# Uncomment this line if you want verbose build messages.
#SET(CMAKE_VERBOSE_MAKEFILE ON) #SET(CMAKE_VERBOSE_MAKEFILE ON)
# Here you can define what libraries of wxWidgets you need for your # Here you can define what libraries of wxWidgets you need for your
...@@ -37,18 +38,20 @@ ENDIF(APPLE) ...@@ -37,18 +38,20 @@ ENDIF(APPLE)
# Did we find wxWidgets ? This condition will fail # Did we find wxWidgets ? This condition will fail
# for as long as the internal vars do not point to # for as long as the internal vars do not point to
# the proper wxWidgets configuration. # the proper wxWidgets configuration.
MESSAGE("-- Check for installed wxWidgets:")
IF(wxWidgets_FOUND) IF(wxWidgets_FOUND)
MESSAGE("-- wxWidgets found") MESSAGE(" wxWidgets found")
# Include wxWidgets macros. # Include wxWidgets macros.
INCLUDE(${wxWidgets_USE_FILE}) INCLUDE(${wxWidgets_USE_FILE})
# We define the include paths here, our source dirs # We define the include paths here.
# and also the include dirs defined by wxWidgets. # Include dirs for wxWidgets was defined before.
INCLUDE_DIRECTORIES( INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/share) ${CMAKE_CURRENT_SOURCE_DIR}/share)
# CMake will look at this dirs for nested 'CMakeLists.txt' files
ADD_SUBDIRECTORY(common) ADD_SUBDIRECTORY(common)
ADD_SUBDIRECTORY(3d-viewer) ADD_SUBDIRECTORY(3d-viewer)
ADD_SUBDIRECTORY(cvpcb) ADD_SUBDIRECTORY(cvpcb)
...@@ -58,9 +61,10 @@ IF(wxWidgets_FOUND) ...@@ -58,9 +61,10 @@ IF(wxWidgets_FOUND)
ADD_SUBDIRECTORY(pcbnew) ADD_SUBDIRECTORY(pcbnew)
ELSE(wxWidgets_FOUND) ELSE(wxWidgets_FOUND)
# For convenience. When we cannot continue, inform the user. # For convenience. When we cannot continue, inform the user.
MESSAGE("wxWidgets is required to build KiCad!") MESSAGE(" Error: wxWidgets doesn't found (it is required to build KiCad!)")
ENDIF(wxWidgets_FOUND) ENDIF(wxWidgets_FOUND)
# CMake will look at this dirs for nested 'CMakeLists.txt' files
ADD_SUBDIRECTORY(internat) ADD_SUBDIRECTORY(internat)
ADD_SUBDIRECTORY(library) ADD_SUBDIRECTORY(library)
ADD_SUBDIRECTORY(modules) ADD_SUBDIRECTORY(modules)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment