C Make Lists

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

project( kicad-library )

cmake_minimum_required( VERSION 2.6.1 FATAL_ERROR )

# Locations for install targets.


if( APPLE )
# Like all variables, CMAKE_INSTALL_PREFIX can be over-ridden on the command
line.
set( CMAKE_INSTALL_PREFIX /
CACHE PATH "" )
# Everything without leading / is relative to CMAKE_INSTALL_PREFIX.
set( KICAD_DATA "Library/Application Support/kicad/"
CACHE PATH "Location of KiCad data files." )
set( KICAD_MODULES ${KICAD_DATA}/modules )
set( KICAD_LIBRARY ${KICAD_DATA}/library )
set( KICAD_TEMPLATE ${KICAD_DATA}/template )
else()
# Everything without leading / is relative to CMAKE_INSTALL_PREFIX.
set( KICAD_DATA share/kicad
CACHE PATH "Location of KiCad data files." )
set( KICAD_MODULES ${KICAD_DATA}/modules )
set( KICAD_LIBRARY ${KICAD_DATA}/library )
set( KICAD_TEMPLATE ${KICAD_DATA}/template )
endif()

mark_as_advanced( KICAD_DATA KICAD_MODULES KICAD_LIBRARY )

if( UNIX )
if( APPLE )
set( KICAD_USER_CONFIG_DIR $ENV{HOME}/Library/Preferences/kicad
CACHE PATH "Location of user specifig KiCad config files" )
else()
set( KICAD_USER_CONFIG_DIR $ENV{HOME}/.config/kicad
CACHE PATH "Location of user specifig KiCad config files" )
endif()
elseif( MINGW )
set( KICAD_USER_CONFIG_DIR $ENV{APPDATA}/kicad
CACHE PATH "Location of user specifig KiCad config files" )
endif()

mark_as_advanced( KICAD_USER_CONFIG_DIR )

#================================================
# "make uninstall" rules
#================================================
configure_file(
"${PROJECT_SOURCE_DIR}/CMakeModules/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY )

add_custom_target( uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" )

# CMake will look in these dirs for nested 'CMakeLists.txt' files.


# Resources.
add_subdirectory( library )
add_subdirectory( modules )
add_subdirectory( template )

You might also like

  • C Make Lists
    C Make Lists
    Document10 pages
    C Make Lists
    Halia
    100% (1)
  • 88af392 CMakeLists
    88af392 CMakeLists
    Document22 pages
    88af392 CMakeLists
    aMOR BENGOURICH
    No ratings yet
  • CMake Lists
    CMake Lists
    Document15 pages
    CMake Lists
    Thoriq Zhafar
    No ratings yet
  • 89aebde CMakeLists
    89aebde CMakeLists
    Document19 pages
    89aebde CMakeLists
    aMOR BENGOURICH
    No ratings yet
  • CMake Lists
    CMake Lists
    Document14 pages
    CMake Lists
    dio rizki
    No ratings yet
  • At A Aaaaaaaaaaaa
    At A Aaaaaaaaaaaa
    Document15 pages
    At A Aaaaaaaaaaaa
    Shazeb Ata
    No ratings yet
  • Occt-V7 0 0-9059ca1 CMakeLists
    Occt-V7 0 0-9059ca1 CMakeLists
    Document17 pages
    Occt-V7 0 0-9059ca1 CMakeLists
    aMOR BENGOURICH
    No ratings yet
  • CMake Lists
    CMake Lists
    Document3 pages
    CMake Lists
    luka.champion53
    No ratings yet
  • CMakeLists
    CMakeLists
    Document9 pages
    CMakeLists
    eliyeimig39
    No ratings yet
  • CMake Lists
    CMake Lists
    Document9 pages
    CMake Lists
    robencarnogursky
    No ratings yet
  • C Make Lists
    C Make Lists
    Document8 pages
    C Make Lists
    Subhaharan Sv
    No ratings yet
  • CMake Lists
    CMake Lists
    Document2 pages
    CMake Lists
    Joao Vitor do Nascimento
    No ratings yet
  • CMake Lists
    CMake Lists
    Document6 pages
    CMake Lists
    Shaik Mohammad Rafi
    No ratings yet
  • CMake Lists
    CMake Lists
    Document9 pages
    CMake Lists
    yfdwtixaophixumjkr
    No ratings yet
  • CMake Lists
    CMake Lists
    Document3 pages
    CMake Lists
    saifon1
    No ratings yet
  • CMake Lists
    CMake Lists
    Document8 pages
    CMake Lists
    MatejŠarlija
    No ratings yet
  • CMakeLists
    CMakeLists
    Document9 pages
    CMakeLists
    danilo60604444
    No ratings yet
  • CMake Lists
    CMake Lists
    Document7 pages
    CMake Lists
    Queso Sabor Aspirina
    No ratings yet
  • CMake Lists
    CMake Lists
    Document14 pages
    CMake Lists
    quartzofeldspatoemica
    No ratings yet
  • Make
    Make
    Document2 pages
    Make
    chuck212
    No ratings yet
  • CMake Lists
    CMake Lists
    Document5 pages
    CMake Lists
    Radiofmmaringa Fmmaringa
    No ratings yet
  • CMake Lists
    CMake Lists
    Document14 pages
    CMake Lists
    Tor
    No ratings yet
  • CMake Lists
    CMake Lists
    Document12 pages
    CMake Lists
    dj.lmntrix.sa
    No ratings yet
  • Cmake List For Cmangos Zero
    Cmake List For Cmangos Zero
    Document9 pages
    Cmake List For Cmangos Zero
    Rifhadm
    No ratings yet
  • CMake Lists
    CMake Lists
    Document3 pages
    CMake Lists
    kiyev64053
    No ratings yet
  • CMake Lists
    CMake Lists
    Document8 pages
    CMake Lists
    Bubble
    No ratings yet
  • CMake Lists
    CMake Lists
    Document16 pages
    CMake Lists
    Ernesto L Garcia
    No ratings yet
  • CMake Lists
    CMake Lists
    Document2 pages
    CMake Lists
    Shumail Nazir
    No ratings yet
  • CMake Lists
    CMake Lists
    Document13 pages
    CMake Lists
    All Blue
    No ratings yet
  • CMake Lists
    CMake Lists
    Document5 pages
    CMake Lists
    Buha Mujur Mandela Simamora
    No ratings yet
  • CMakeLists
    CMakeLists
    Document2 pages
    CMakeLists
    carlos.fernandez239
    No ratings yet
  • CMakeLists
    CMakeLists
    Document3 pages
    CMakeLists
    aternospro7
    No ratings yet
  • CMake Lists
    CMake Lists
    Document29 pages
    CMake Lists
    searceydavid
    No ratings yet
  • CMake Lists
    CMake Lists
    Document2 pages
    CMake Lists
    Tor
    No ratings yet
  • CMake Lists
    CMake Lists
    Document4 pages
    CMake Lists
    endurancekenzo
    No ratings yet
  • C Make Lists
    C Make Lists
    Document2 pages
    C Make Lists
    morxbox5
    No ratings yet
  • CMake Lists
    CMake Lists
    Document2 pages
    CMake Lists
    diego
    No ratings yet
  • CMakeLists
    CMakeLists
    Document3 pages
    CMakeLists
    OmarLo
    No ratings yet
  • CMake Lists
    CMake Lists
    Document3 pages
    CMake Lists
    devfhalley
    No ratings yet
  • CMake Lists
    CMake Lists
    Document4 pages
    CMake Lists
    musicemailskibidi
    No ratings yet
  • C Make Lists
    C Make Lists
    Document6 pages
    C Make Lists
    Rafi ToonVlogs
    No ratings yet
  • CMake Lists
    CMake Lists
    Document7 pages
    CMake Lists
    Cecilion Meta
    No ratings yet
  • CMake Lists
    CMake Lists
    Document2 pages
    CMake Lists
    drerginyildiz278
    No ratings yet
  • CMake Lists
    CMake Lists
    Document4 pages
    CMake Lists
    Chien Nguyen Van Khanh
    No ratings yet
  • CMake Lists
    CMake Lists
    Document6 pages
    CMake Lists
    Quân Lê
    No ratings yet
  • CMake Lists
    CMake Lists
    Document7 pages
    CMake Lists
    artem.matalytskij
    No ratings yet
  • Firebird
    Firebird
    Document9 pages
    Firebird
    Pumitas Kamy
    No ratings yet
  • CMake Lists
    CMake Lists
    Document3 pages
    CMake Lists
    k.c.lover 8
    No ratings yet
  • C Make Lists
    C Make Lists
    Document2 pages
    C Make Lists
    Bianca Greenley
    No ratings yet
  • CMake Lists
    CMake Lists
    Document33 pages
    CMake Lists
    Valdevy Pires
    No ratings yet
  • CMake Lists
    CMake Lists
    Document10 pages
    CMake Lists
    Ijweor
    No ratings yet
  • C Make Lists
    C Make Lists
    Document13 pages
    C Make Lists
    2z94zpskkc
    No ratings yet
  • C Make Lists
    C Make Lists
    Document34 pages
    C Make Lists
    Leo Quiroz
    No ratings yet
  • C Make Lists
    C Make Lists
    Document6 pages
    C Make Lists
    Divine Ruler Equality Allah
    No ratings yet
  • Cmake Cheat Sheet
    Cmake Cheat Sheet
    Document1 page
    Cmake Cheat Sheet
    Tizita Nesibu
    100% (2)
  • C Make Lists
    C Make Lists
    Document6 pages
    C Make Lists
    Melissa Hagan
    No ratings yet
  • CMake Lists
    CMake Lists
    Document4 pages
    CMake Lists
    dylan.hudon
    No ratings yet
  • CMakeLists
    CMakeLists
    Document28 pages
    CMakeLists
    certificationcustomers
    No ratings yet
  • CMake Lists
    CMake Lists
    Document3 pages
    CMake Lists
    Wance Cewan
    No ratings yet
  • React Portfolio App Development: Increase your online presence and create your personal brand
    React Portfolio App Development: Increase your online presence and create your personal brand
    From Everand
    React Portfolio App Development: Increase your online presence and create your personal brand
    Rating: 5 out of 5 stars
    5/5 (1)