Skip to content

Commit 07aa5c2

Browse files
JohannesLorenzJohannes Lorenz
andauthored
Windows: Add getopt_long (#395)
This also makes it possible to compile `calfjackhost` on Windows. Co-authored-by: Johannes Lorenz <jlsf2013@sourceforge.net>
1 parent bc346c3 commit 07aa5c2

File tree

5 files changed

+656
-133
lines changed

5 files changed

+656
-133
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,7 @@ endif()
9494
# calfmakerdf
9595
#
9696

97-
if(MSVC)
98-
add_executable(${PROJECT_NAME}makerdf makerdf.cpp getopt_windows.cpp)
99-
else()
100-
add_executable(${PROJECT_NAME}makerdf makerdf.cpp)
101-
endif()
97+
add_executable(${PROJECT_NAME}makerdf makerdf.cpp)
10298
target_include_directories(${PROJECT_NAME}makerdf PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${EXPAT_INCLUDE_DIRS})
10399
target_link_libraries(${PROJECT_NAME}makerdf PRIVATE ${PROJECT_NAME} Threads::Threads ${EXPAT_LIBRARIES} fluidsynth)
104100

src/getopt_windows.cpp

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)