C= for a do s=.c case $a in *.y) s=.y ;; *.s) s=.s ;; esac b=`basename $a $s` D=/bin echo $a: case $b in -cmp) C=cmp c…
cmake 源代码
CMake是一款跨平台的开源构建系统工具,广泛应用于电子工程项目的自动化构建流程中。它支持多种编程语言,如C、C++等,能够帮助工程师高效管理项目依赖关系,简化编译过程。无论是嵌入式开发还是桌面应用,CMake都能提供强大的灵活性和可扩展性,是现代软件开发不可或缺的一部分。探索我…
I would like to try using CMAKE to generate Makefile-s for this project. Therefore please download cmake from cmake.org and run: …
# - Find Perl libraries # This module finds if PERL is installed and determines where the include files # and libraries are. It al…
# - Locate Qt include paths and libraries # This module defines: # QT_INCLUDE_DIR - where to find qt.h, etc. # QT_LIBRARIES …
INCLUDE(Platform/UnixPaths)
SET(CMAKE_DL_LIBS "") IF(CMAKE_SYSTEM MATCHES "OSF1-1.[012]") ENDIF(CMAKE_SYSTEM MATCHES "OSF1-1.[012]") IF(CMAKE_SYSTEM MATC…
IF(CMAKE_COMPILER_IS_GNUG77) SET (CMAKE_Fortran_FLAGS_INIT "") SET (CMAKE_Fortran_FLAGS_DEBUG_INIT "-g") SET (CMAKE_Fortr…
SET(CMAKE_DL_LIBS "") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -rdata_shared") SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS…
# Locate Lua library # This module defines # LUA_LIBRARIES, both lua and lualib # LUA_FOUND, if false, do not try to link to …
# Find KDE4 and provide all necessary variables and macros to compile software for it. # It looks for KDE 4 in the following dire…