File: CMakeLists.txt

package info (click to toggle)
luminance-hdr 2.5.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 34,632 kB
  • sloc: cpp: 42,160; ansic: 892; xml: 87; makefile: 38; sh: 12
file content (14 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ADD_EXECUTABLE(PrintWeights PrintWeights.cpp)
ADD_EXECUTABLE(PrintResponses PrintResponses.cpp)

# Link sub modules
IF(MSVC OR APPLE)
TARGET_LINK_LIBRARIES(PrintWeights hdrcreation pfs)
TARGET_LINK_LIBRARIES(PrintResponses hdrcreation pfs)
ELSE()
TARGET_LINK_LIBRARIES(PrintWeights -Xlinker --start-group hdrcreation pfs -Xlinker --end-group)
TARGET_LINK_LIBRARIES(PrintResponses -Xlinker --start-group hdrcreation pfs -Xlinker --end-group)
ENDIF()
# Link shared library
TARGET_LINK_LIBRARIES(PrintWeights ${LIBS})
TARGET_LINK_LIBRARIES(PrintResponses ${LIBS})