CMakeLists.txt 449 Bytes
Newer Older
1
2
add_executable(SEGYImport
  SEGYImport.cpp
3
4
  TraceInfo2DManager.cpp
  TraceInfo2DManager.h
5
6
7
8
  )

target_link_libraries(SEGYImport PRIVATE Threads::Threads openvds segyutils jsoncpp_lib_static fmt::fmt)

Jørgen Lind's avatar
Jørgen Lind committed
9
setCompilerFlagsForTools(SEGYImport)
10

Jørgen Lind's avatar
Jørgen Lind committed
11
12
13
14
if(MSVC_VERSION LESS_EQUAL 1900)
  set_source_files_properties(SEGYImport.cpp PROPERTIES COMPILE_FLAGS /bigobj)
endif()

15
16
if(WIN32)
  set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} setargv.obj")
Jørgen Lind's avatar
Jørgen Lind committed
17
endif()