source: pacpusframework/trunk/cmake/PacpusPlatforms.cmake@ 16

Last change on this file since 16 was 3, checked in by sgosseli, 12 years ago
  • Add the existing Pacpus files from pacpusdev and pacpuscore.
  • Provide a clean build system based on multiple CMake files.
File size: 672 bytes
RevLine 
[3]1#################################################
2# ___________ ____ ______ __ __ _____ #
3# \____ \__ \ _/ ___\\____ \| | \/ ___/ #
4# | |_> > __ \\ \___| |_> > | /\___ \ #
5# | __(____ /\___ > __/|____//____ > #
6# |__| \/ \/|__| \/ #
7# #
8#################################################
9
10# ========================================
11# GCC-Based compilers
12# ========================================
13if ("${CMAKE_CXX_COMPILER}" MATCHES "gcc|icc|clang")
14 pacpus_info("The libraries will be compiled with -fPIC")
15 list(APPEND PACPUS_DEFINITIONS " -fPIC ")
16endif()
Note: See TracBrowser for help on using the repository browser.